mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-26 00:34:06 +00:00
d7d6238b23
This is consistent with all other diagnostics I could find containing features and enables the use of `DiagSymbolList` for generalizing diagnostics for unstable library features to multiple features.
5 lines
145 B
Rust
5 lines
145 B
Rust
fn main() {
|
|
let a = concat_bytes!(b'A', b"BC"); //~ ERROR use of unstable library feature `concat_bytes`
|
|
assert_eq!(a, &[65, 66, 67]);
|
|
}
|