diff options
Diffstat (limited to 'tests/ui/feature-gates/feature-gate-concat_bytes.stderr')
-rw-r--r-- | tests/ui/feature-gates/feature-gate-concat_bytes.stderr | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/ui/feature-gates/feature-gate-concat_bytes.stderr b/tests/ui/feature-gates/feature-gate-concat_bytes.stderr new file mode 100644 index 000000000..4b3ee4c19 --- /dev/null +++ b/tests/ui/feature-gates/feature-gate-concat_bytes.stderr @@ -0,0 +1,12 @@ +error[E0658]: use of unstable library feature 'concat_bytes' + --> $DIR/feature-gate-concat_bytes.rs:2:13 + | +LL | let a = concat_bytes!(b'A', b"BC"); + | ^^^^^^^^^^^^ + | + = note: see issue #87555 <https://github.com/rust-lang/rust/issues/87555> for more information + = help: add `#![feature(concat_bytes)]` to the crate attributes to enable + +error: aborting due to previous error + +For more information about this error, try `rustc --explain E0658`. |