]> git.lizzy.rs Git - rust.git/blob - tests/ui/unresolved/unresolved-import-recovery.rs
Rollup merge of #106715 - BoxyUwU:new_solver_triagebot, r=lcnr
[rust.git] / tests / ui / unresolved / unresolved-import-recovery.rs
1 // Check that unresolved imports do not create additional errors and ICEs
2
3 mod m {
4     pub use unresolved; //~ ERROR unresolved import `unresolved`
5
6     fn f() {
7         let unresolved = 0; // OK
8     }
9 }
10
11 fn main() {
12     match 0u8 {
13         m::unresolved => {} // OK
14         m::unresolved(..) => {} // OK
15         m::unresolved{..} => {} // OK
16     }
17 }