1error: expected rustc release number, like 1.31
2 --> $DIR/bad-version.rs:1:23
3  |
41 | #[rustversion::stable(nightly)]
5  |                       ^^^^^^^
6
7error: expected rustc release number, like 1.31
8 --> $DIR/bad-version.rs:4:27
9  |
104 | #[rustversion::any(stable(nightly))]
11  |                           ^^^^^^^
12