mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 23:04:33 +00:00
74f5261345
without this, the only way to create a `LitKind::Byte` is by doing `"b'a'".parse::<Literal>()`, this solves that by enabling `Literal::byte_character(b'a')`
13 lines
512 B
Plaintext
13 lines
512 B
Plaintext
error[E0658]: use of unstable library feature 'proc_macro_byte_character'
|
|
--> $DIR/feature-gate-proc_macro_byte_character.rs:9:5
|
|
|
|
|
LL | Literal::byte_character(b'a');
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
= note: see issue #115268 <https://github.com/rust-lang/rust/issues/115268> for more information
|
|
= help: add `#![feature(proc_macro_byte_character)]` to the crate attributes to enable
|
|
|
|
error: aborting due to previous error
|
|
|
|
For more information about this error, try `rustc --explain E0658`.
|