]> git.lizzy.rs Git - rust.git/blob - src/test/ui/pattern/pattern-ident-path-generics.stderr
Auto merge of #56833 - nagisa:ios-fix, r=alexcrichton
[rust.git] / src / test / ui / pattern / pattern-ident-path-generics.stderr
1 error[E0308]: mismatched types
2   --> $DIR/pattern-ident-path-generics.rs:13:9
3    |
4 LL |         None::<isize> => {}   //~ ERROR mismatched types
5    |         ^^^^^^^^^^^^^ expected &str, found isize
6    |
7    = note: expected type `std::option::Option<&str>`
8               found type `std::option::Option<isize>`
9
10 error: aborting due to previous error
11
12 For more information about this error, try `rustc --explain E0308`.