rust/tests/ui/incoherent-inherent-impls/no-other-unrelated-errors.rs
dxsullivan bb16267a65 chore: fix typos
Signed-off-by: dxsullivan <193140725+dxsullivan@users.noreply.github.com>
2024-12-31 23:46:39 +08:00

9 lines
172 B
Rust

// E0116 caused other unrelated errors, so check no unrelated errors are emitted.
fn main() {
let x = "hello";
x.split(" ");
}
impl Vec<usize> {} //~ ERROR E0116