1 error[E0308]: mismatched types
2 --> $DIR/pattern-ident-path-generics.rs:3:9
4 LL | None::<isize> => {}
5 | ^^^^^^^^^^^^^ expected &str, found isize
7 = note: expected type `std::option::Option<&str>`
8 found type `std::option::Option<isize>`
10 error: aborting due to previous error
12 For more information about this error, try `rustc --explain E0308`.