diff options
| author | Esteban Küber <esteban@kuber.com.ar> | 2024-07-22 22:51:53 +0000 |
|---|---|---|
| committer | Esteban Küber <esteban@kuber.com.ar> | 2024-07-22 22:51:53 +0000 |
| commit | 921de9d8eae16947c375febe0ab8709797b37119 (patch) | |
| tree | c302b0a78d91ea9a466e72f7ecc645feb31af332 /tests/ui/ufcs | |
| parent | b30fdec5fb283641fc0452fa6ca60193a16bb30d (diff) | |
| download | rust-921de9d8eae16947c375febe0ab8709797b37119.tar.gz rust-921de9d8eae16947c375febe0ab8709797b37119.zip | |
Revert suggestion verbosity change
Diffstat (limited to 'tests/ui/ufcs')
| -rw-r--r-- | tests/ui/ufcs/ufcs-qpath-missing-params.stderr | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/tests/ui/ufcs/ufcs-qpath-missing-params.stderr b/tests/ui/ufcs/ufcs-qpath-missing-params.stderr index e7e576d7c66..048cf96bcc8 100644 --- a/tests/ui/ufcs/ufcs-qpath-missing-params.stderr +++ b/tests/ui/ufcs/ufcs-qpath-missing-params.stderr @@ -34,18 +34,15 @@ error[E0107]: method takes 0 generic arguments but 1 generic argument was suppli --> $DIR/ufcs-qpath-missing-params.rs:17:26 | LL | <String as IntoCow>::into_cow::<str>("foo".to_string()); - | ^^^^^^^^ expected 0 generic arguments + | ^^^^^^^^------- help: remove the unnecessary generics + | | + | expected 0 generic arguments | note: method defined here, with 0 generic parameters --> $DIR/ufcs-qpath-missing-params.rs:4:8 | LL | fn into_cow(self) -> Cow<'a, B>; | ^^^^^^^^ -help: remove the unnecessary generics - | -LL - <String as IntoCow>::into_cow::<str>("foo".to_string()); -LL + <String as IntoCow>::into_cow("foo".to_string()); - | error: aborting due to 3 previous errors |
