mirror of
https://github.com/rust-lang/rust
synced 2024-11-05 20:45:15 +00:00
25 lines
636 B
Text
25 lines
636 B
Text
error[E0412]: cannot find type `Foo` in this scope
|
|
--> $DIR/dont-suggest-foreign-doc-hidden.rs:11:16
|
|
|
|
|
LL | pub fn test(_: Foo) {}
|
|
| ^^^ not found in this scope
|
|
|
|
|
help: consider importing this struct
|
|
|
|
|
LL + use local::Foo;
|
|
|
|
|
|
|
error[E0412]: cannot find type `Bar` in this scope
|
|
--> $DIR/dont-suggest-foreign-doc-hidden.rs:14:17
|
|
|
|
|
LL | pub fn test2(_: Bar) {}
|
|
| ^^^ not found in this scope
|
|
|
|
|
help: consider importing this struct
|
|
|
|
|
LL + use hidden_struct::Bar;
|
|
|
|
|
|
|
error: aborting due to 2 previous errors
|
|
|
|
For more information about this error, try `rustc --explain E0412`.
|