mirror of https://github.com/rust-lang/rust
13 lines
388 B
Plaintext
13 lines
388 B
Plaintext
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 1 previous error
|
|
|
|
For more information about this error, try `rustc --explain E0308`.
|