Logo
Explore Help
Register Sign In
rust-lang/rust
1
0
Fork 0
You've already forked rust
Code Issues Pull Requests Actions 2 Packages Projects Releases Wiki Activity
Files
51b51b51d7931da85280382a81c4dd80c73ca754
rust/tests/ui/suggestions/issue-101421.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

13 lines
208 B
Rust
Raw Normal View History

Fix ICE, generalize 'move generics to trait' suggestion for >0 non-rcvr arguments
2022-09-05 00:23:02 +00:00
pub trait Ice {
fn f(&self, _: ());
}
impl Ice for () {
fn f(&self, _: ()) {}
}
fn main() {
().f::<()>(());
diagnostics: remove inconsistent English article "this" from E0107 Consider `tests/ui/const-generics/generic_const_exprs/issue-102768.stderr`, the error message where it gives additional notes about where the associated type is defined, and how the dead code lint doesn't have an article, like in `tests/ui/lint/dead-code/issue-85255.stderr`. They don't have articles, so it seems unnecessary to have one here.
2023-02-23 10:27:06 -07:00
//~^ ERROR method takes 0 generic arguments but 1 generic argument was supplied
Fix ICE, generalize 'move generics to trait' suggestion for >0 non-rcvr arguments
2022-09-05 00:23:02 +00:00
}
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.24.6 Page: 1818ms Template: 2ms
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