diff options
| author | Dylan DPC <dylan.dpc@gmail.com> | 2020-04-08 23:33:46 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-04-08 23:33:46 +0200 |
| commit | 268f09f9e63a3cb9698b32e52f56e11bed6a6f0b (patch) | |
| tree | 91795c861564eb8bc08b8f97f6d9bf65fcd0bd0f /src/test | |
| parent | 6f8fc4d656b7ab5bc680128074817771628e9985 (diff) | |
| parent | a3e54b59f9779b800d067645d59e92bdc3ce53c1 (diff) | |
| download | rust-268f09f9e63a3cb9698b32e52f56e11bed6a6f0b.tar.gz rust-268f09f9e63a3cb9698b32e52f56e11bed6a6f0b.zip | |
Rollup merge of #70912 - estebank:reduce-type-param-sugg-verbosity, r=davidtwco
Do not suggest adding type param when `use` is already suggested Fix #70365, cc #70572.
Diffstat (limited to 'src/test')
| -rw-r--r-- | src/test/ui/privacy/privacy-ns1.stderr | 4 | ||||
| -rw-r--r-- | src/test/ui/suggestions/no-extern-crate-in-type.stderr | 4 |
2 files changed, 0 insertions, 8 deletions
diff --git a/src/test/ui/privacy/privacy-ns1.stderr b/src/test/ui/privacy/privacy-ns1.stderr index 66e9b78f676..45ca00f55ab 100644 --- a/src/test/ui/privacy/privacy-ns1.stderr +++ b/src/test/ui/privacy/privacy-ns1.stderr @@ -63,10 +63,6 @@ LL | use foo2::Bar; | LL | use foo3::Bar; | -help: you might be missing a type parameter - | -LL | fn test_glob3<Bar>() { - | ^^^^^ error[E0107]: wrong number of const arguments: expected 0, found 1 --> $DIR/privacy-ns1.rs:35:17 diff --git a/src/test/ui/suggestions/no-extern-crate-in-type.stderr b/src/test/ui/suggestions/no-extern-crate-in-type.stderr index 0a73a269134..22aad3b0a9f 100644 --- a/src/test/ui/suggestions/no-extern-crate-in-type.stderr +++ b/src/test/ui/suggestions/no-extern-crate-in-type.stderr @@ -8,10 +8,6 @@ help: possible candidate is found in another module, you can import it into scop | LL | use foo::Foo; | -help: you might be missing a type parameter - | -LL | type Output<Foo> = Option<Foo>; - | ^^^^^ error: aborting due to previous error |
