WIP: don't suggest placing use statements into expanded code
This commit is contained in:
parent
f9a07bc11b
commit
74748b11bb
4 changed files with 19 additions and 7 deletions
|
|
@ -10,7 +10,7 @@ error[E0423]: expected value, found struct `Z`
|
|||
|
|
||||
help: possible better candidate is found in another module, you can import it into scope
|
||||
|
|
||||
16 | use m::n::Z;
|
||||
22 | use m::n::Z;
|
||||
|
|
||||
|
||||
error[E0423]: expected value, found struct `S`
|
||||
|
|
@ -24,7 +24,7 @@ error[E0423]: expected value, found struct `S`
|
|||
|
|
||||
help: possible better candidate is found in another module, you can import it into scope
|
||||
|
|
||||
15 | use m::S;
|
||||
32 | use m::S;
|
||||
|
|
||||
|
||||
error[E0423]: expected value, found struct `xcrate::S`
|
||||
|
|
@ -38,7 +38,7 @@ error[E0423]: expected value, found struct `xcrate::S`
|
|||
|
|
||||
help: possible better candidate is found in another module, you can import it into scope
|
||||
|
|
||||
15 | use m::S;
|
||||
32 | use m::S;
|
||||
|
|
||||
|
||||
error[E0603]: tuple struct `Z` is private
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ error[E0412]: cannot find type `Path` in this scope
|
|||
|
|
||||
help: possible candidate is found in another module, you can import it into scope
|
||||
|
|
||||
20 | #[derive(use std::path::Path;
|
||||
21 | use std::path::Path;
|
||||
|
|
||||
|
||||
error[E0425]: cannot find value `A` in this scope
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ error[E0404]: expected trait, found type parameter `Add`
|
|||
|
|
||||
help: possible better candidate is found in another module, you can import it into scope
|
||||
|
|
||||
11 | use std::ops::Add;
|
||||
13 | use std::ops::Add;
|
||||
|
|
||||
|
||||
error[E0601]: main function not found
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue