diff options
Diffstat (limited to 'third_party/rust/rustversion/tests/ui/bad-bound.stderr')
-rw-r--r-- | third_party/rust/rustversion/tests/ui/bad-bound.stderr | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/third_party/rust/rustversion/tests/ui/bad-bound.stderr b/third_party/rust/rustversion/tests/ui/bad-bound.stderr new file mode 100644 index 0000000000..77956c66db --- /dev/null +++ b/third_party/rust/rustversion/tests/ui/bad-bound.stderr @@ -0,0 +1,11 @@ +error: expected rustc release number like 1.31, or nightly date like 2020-02-25 + --> tests/ui/bad-bound.rs:1:22 + | +1 | #[rustversion::since(stable)] + | ^^^^^^ + +error: expected rustc release number like 1.31, or nightly date like 2020-02-25 + --> tests/ui/bad-bound.rs:4:26 + | +4 | #[rustversion::any(since(stable))] + | ^^^^^^ |