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

6 lines
116 B
Rust

// deprecated doesn't currently support literals
#[deprecated("since")] //~ ERROR E0565
fn f() { }
fn main() { }