]> git.lizzy.rs Git - rust.git/blob - tests/ui/errors/issue-89280-emitter-overflow-splice-lines.rs
add UI test + docs for `E0789`
[rust.git] / tests / ui / errors / issue-89280-emitter-overflow-splice-lines.rs
1 // check-pass
2
3 trait X {
4     fn test(x: u32, (
5 //~^ WARN anonymous parameters are deprecated and will be removed in the next edition
6 //~^^ WARN this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018!
7     )) {}
8 }
9
10 fn main() {}