]> git.proxmox.com Git - rustc.git/blob - src/test/ui/pattern/pattern-ident-path-generics.stderr
Update unsuspicious file list
[rustc.git] / src / test / ui / pattern / pattern-ident-path-generics.stderr
1 error[E0308]: mismatched types
2 --> $DIR/pattern-ident-path-generics.rs:3:9
3 |
4 LL | match Some("foo") {
5 | ----------- this expression has type `Option<&str>`
6 LL | None::<isize> => {}
7 | ^^^^^^^^^^^^^ expected `&str`, found `isize`
8 |
9 = note: expected enum `Option<&str>`
10 found enum `Option<isize>`
11
12 error: aborting due to previous error
13
14 For more information about this error, try `rustc --explain E0308`.