rust/tests/ui/rfcs/rfc-3348-c-string-literals/gate.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

22 lines
709 B
Plaintext
Raw Normal View History

2023-07-16 13:59:05 -05:00
error[E0658]: `c".."` literals are experimental
2023-07-04 12:40:48 -05:00
--> $DIR/gate.rs:10:5
2023-03-06 01:10:23 -06:00
|
LL | c"foo";
2023-07-16 13:59:05 -05:00
| ^^^^^^
2023-03-06 01:10:23 -06:00
|
2023-07-16 13:59:05 -05:00
= note: see issue #105723 <https://github.com/rust-lang/rust/issues/105723> for more information
= help: add `#![feature(c_str_literals)]` to the crate attributes to enable
2023-03-06 01:10:23 -06:00
2023-07-16 13:59:05 -05:00
error[E0658]: `c".."` literals are experimental
2023-07-04 12:40:48 -05:00
--> $DIR/gate.rs:13:8
2023-03-06 01:10:23 -06:00
|
LL | m!(c"test");
2023-07-16 13:59:05 -05:00
| ^^^^^^^
2023-03-06 01:10:23 -06:00
|
2023-07-16 13:59:05 -05:00
= note: see issue #105723 <https://github.com/rust-lang/rust/issues/105723> for more information
= help: add `#![feature(c_str_literals)]` to the crate attributes to enable
2023-03-06 01:10:23 -06:00
2023-07-16 13:59:05 -05:00
error: aborting due to 2 previous errors
2023-03-06 01:10:23 -06:00
2023-07-16 13:59:05 -05:00
For more information about this error, try `rustc --explain E0658`.