You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think this is because #[rustversion::before(...) is defined as "Negative of #[rustversion::since(...)].", and #[rustversion::since(<some-nightly-version>)] is defined as "True on that nightly and all newer ones". That would mean that even newer stables than that nightly would not match.
If this is an intentional design decision by @dtolnay, what you want seems to be achieved by #[rustversion::all(nightly, before(2020-01-01))]
Building the following:
fails as expected with recent nightlies (because of the missing main function in that case) but compiles just fine with 1.51.0.
since() is limited to nightlies. It seems before() should too.
The text was updated successfully, but these errors were encountered: