rust/tests/ui/attributes/field-attributes-vis-unresolved.stderr
2025-11-27 11:19:00 -05:00

25 lines
951 B
Text

error[E0433]: failed to resolve: use of unresolved module or unlinked crate `nonexistent`
--> $DIR/field-attributes-vis-unresolved.rs:18:12
|
LL | pub(in nonexistent) field: u8
| ^^^^^^^^^^^ use of unresolved module or unlinked crate `nonexistent`
|
help: you might be missing a crate named `nonexistent`, add it to your project and import it in your code
|
LL + extern crate nonexistent;
|
error[E0433]: failed to resolve: use of unresolved module or unlinked crate `nonexistent`
--> $DIR/field-attributes-vis-unresolved.rs:23:12
|
LL | pub(in nonexistent) u8
| ^^^^^^^^^^^ use of unresolved module or unlinked crate `nonexistent`
|
help: you might be missing a crate named `nonexistent`, add it to your project and import it in your code
|
LL + extern crate nonexistent;
|
error: aborting due to 2 previous errors
For more information about this error, try `rustc --explain E0433`.