]> git.proxmox.com Git - rustc.git/blame - tests/ui/pattern/pattern-ident-path-generics.stderr
New upstream version 1.69.0+dfsg1
[rustc.git] / tests / 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> => {}
9ffffee4 7 | ^^^^^^^^^^^^^ expected `Option<&str>`, found `Option<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`.