rust/tests/ui/error-codes/E0565-2.rs

6 lines
133 B
Rust

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