blob: e83f89a60333fd131b4cf46577a6882c7beab2f4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
error[E0308]: mismatched types
--> $DIR/generic-expr-default-mismatched-types.rs:12:5
|
LL | Foo::<N, { N + 2 }>
| ^^^^^^^^^^^^^^^^^^^ expected `{ N + 1 }`, found `{ N + 2 }`
|
= note: expected constant `{ N + 1 }`
found constant `{ N + 2 }`
error: aborting due to previous error
For more information about this error, try `rustc --explain E0308`.
|