rust/tests/ui/error-codes/E0565-2.rs
2023-01-11 09:32:08 +00:00

6 lines
133 B
Rust

// repr currently doesn't support literals
#[deprecated(since = b"1.29", note = "hi")] //~ ERROR E0565
struct A { }
fn main() { }