summaryrefslogtreecommitdiffstats
path: root/tests/ui/errors/issue-89280-emitter-overflow-splice-lines.rs
blob: a1c7af128d2ee438fb3339489a3251466e74f225 (plain)
1
2
3
4
5
6
7
8
9
10
// check-pass

trait X {
    fn test(x: u32, (
//~^ WARN anonymous parameters are deprecated and will be removed in the next edition
//~^^ WARN this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018!
    )) {}
}

fn main() {}