Do not suggest adding type param when use is already suggested
Fix #70365, cc #70572.
This commit is contained in:
parent
b543afca9b
commit
a3e54b59f9
3 changed files with 1 additions and 10 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue