about summary refs log tree commit diff
path: root/tests/ui/incoherent-inherent-impls/no-other-unrelated-errors.rs
blob: cef017e79a48fa791f02df8686bc10e4c67fe452 (plain)
1
2
3
4
5
6
7
8
// E0116 caused other unrelated errors, so check no unrelated errors are emitted.

fn main() {
    let x = "hello";
    x.split(" ");
}

impl Vec<usize> {} //~ ERROR E0116