mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-04 12:44:40 +00:00
64a9c9cfea
These were changed to `has_errors` assertions in #121071 because that seemed reasonable, but evidently not. Fixes #121103. Fixes #121108.
16 lines
621 B
Plaintext
16 lines
621 B
Plaintext
error[E0433]: failed to resolve: use of undeclared crate or module `lib2`
|
|
--> $DIR/issue-121103.rs:1:38
|
|
|
|
|
LL | fn main(_: <lib2::GenericType<42> as lib2::TypeFn>::Output) {}
|
|
| ^^^^ use of undeclared crate or module `lib2`
|
|
|
|
error[E0433]: failed to resolve: use of undeclared crate or module `lib2`
|
|
--> $DIR/issue-121103.rs:1:13
|
|
|
|
|
LL | fn main(_: <lib2::GenericType<42> as lib2::TypeFn>::Output) {}
|
|
| ^^^^ use of undeclared crate or module `lib2`
|
|
|
|
error: aborting due to 2 previous errors
|
|
|
|
For more information about this error, try `rustc --explain E0433`.
|