Logo
Explore Help
Register Sign In
rust-lang/rust
1
0
Fork 0
You've already forked rust
Code Issues Pull Requests Actions 1 Packages Projects Releases Wiki Activity
Files
a9cb15d793495b6b6318c7a60c42d12ddcf1609a
rust/tests/ui/incoherent-inherent-impls/no-other-unrelated-errors.rs

9 lines
172 B
Rust
Raw Normal View History

chore: fix typos Signed-off-by: dxsullivan <193140725+dxsullivan@users.noreply.github.com>
2024-12-31 23:46:39 +08:00
// E0116 caused other unrelated errors, so check no unrelated errors are emitted.
Add a new test ui/incoherent-inherent-impls/no-other-unrelated-errors to check E0116 does not cause unrelated errors rustc xxx (we do not know) to 1.82.0 emits unrelated errors when E0116 is present (see #125814). We do not know what caused and fixed it, but add a test to confirm rustc does not cause the same error in the future.
2024-12-05 12:06:14 +09:00
fn main() {
let x = "hello";
x.split(" ");
}
impl Vec<usize> {} //~ ERROR E0116
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.24.6 Page: 222ms Template: 3ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API