rust/tests/ui/span/visibility-ty-params.stderr
Esteban Küber c73b3d20c6 Unify wording of resolve error
Remove "failed to resolve" and use the same format we use in other resolution errors "cannot find `name`".

```
error[E0433]: cannot find `nonexistent` in `existent`
  --> $DIR/custom_attr_multisegment_error.rs:5:13
   |
LL | #[existent::nonexistent]
   |             ^^^^^^^^^^^ could not find `nonexistent` in `existent`
```
2026-02-17 16:51:44 +00:00

21 lines
553 B
Text

error: unexpected generic arguments in path
--> $DIR/visibility-ty-params.rs:6:13
|
LL | m!{ crate::S<u8> }
| ^^^^
error[E0433]: cannot find module `S` in `crate`
--> $DIR/visibility-ty-params.rs:6:12
|
LL | m!{ crate::S<u8> }
| ^ `S` is a struct, not a module
error: unexpected generic arguments in path
--> $DIR/visibility-ty-params.rs:10:17
|
LL | m!{ crate::m<> }
| ^^
error: aborting due to 3 previous errors
For more information about this error, try `rustc --explain E0433`.