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