rustversion::before(date) matches stable version
Open
- Dominant language
- Rust
- Stars
- 394
- Forks
- 22
- PR merge metrics
- No merged PRs in 30d
Description
Building the following:
```
#[rustversion::before(2020-01-01)]
fn main() {
println!("Hello, world!");
}
```
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.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.