1 error[E0433]: failed to resolve: could not find `Struc` in `module`
2 --> $DIR/typo-suggestion-mistyped-in-path.rs:35:13
4 LL | module::Struc::foo();
7 | could not find `Struc` in `module`
8 | help: a struct with a similar name exists: `Struct`
10 error[E0599]: no function or associated item named `fob` found for struct `Struct` in the current scope
11 --> $DIR/typo-suggestion-mistyped-in-path.rs:23:13
14 | ------------- function or associated item `fob` not found for this struct
19 | function or associated item not found in `Struct`
20 | help: there is an associated function with a similar name: `foo`
22 error[E0433]: failed to resolve: use of undeclared type `Struc`
23 --> $DIR/typo-suggestion-mistyped-in-path.rs:27:5
28 | use of undeclared type `Struc`
29 | help: a struct with a similar name exists: `Struct`
31 error[E0433]: failed to resolve: use of undeclared crate or module `modul`
32 --> $DIR/typo-suggestion-mistyped-in-path.rs:31:5
35 | ^^^^^ use of undeclared crate or module `modul`
37 help: there is a crate or module with a similar name
42 error[E0433]: failed to resolve: use of undeclared type `Trai`
43 --> $DIR/typo-suggestion-mistyped-in-path.rs:39:5
48 | use of undeclared type `Trai`
49 | help: a trait with a similar name exists: `Trait`
51 error: aborting due to 5 previous errors
53 Some errors have detailed explanations: E0433, E0599.
54 For more information about an error, try `rustc --explain E0433`.