JelteF / derive_more

Some more derive(Trait) options
MIT License
1.73k stars 123 forks source link

Remove nightly cfg from impl crate #394

Open JelteF opened 3 months ago

JelteF commented 3 months ago

We can use rustversion for this. For some of the tests its still needed because of this error:

error[E0658]: non-inline modules in proc macro input are unstable
  --> tests/error/mod.rs:53:1
   |
53 | mod nightly;
   | ^^^^^^^^^^^^
   |
   = note: see issue #54727 <https://github.com/rust-lang/rust/issues/54727> for more information
JelteF commented 3 months ago

Hmm, okay apparently I cannot use rustversion in doc tests (which is where we need it). So I'll leave this open to look again later.