diff options
Diffstat (limited to 'tests/ui/error-codes/E0565-2.stderr')
-rw-r--r-- | tests/ui/error-codes/E0565-2.stderr | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/ui/error-codes/E0565-2.stderr b/tests/ui/error-codes/E0565-2.stderr new file mode 100644 index 000000000..097871bd3 --- /dev/null +++ b/tests/ui/error-codes/E0565-2.stderr @@ -0,0 +1,11 @@ +error[E0565]: literal in `deprecated` value must be a string + --> $DIR/E0565-2.rs:2:22 + | +LL | #[deprecated(since = b"1.29", note = "hi")] + | -^^^^^^ + | | + | help: consider removing the prefix + +error: aborting due to previous error + +For more information about this error, try `rustc --explain E0565`. |