rust/tests/ui/const-generics/defaults/generic-expr-default-concrete.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

13 lines
338 B
Plaintext
Raw Normal View History

2021-07-10 11:38:39 -05:00
error[E0308]: mismatched types
--> $DIR/generic-expr-default-concrete.rs:10:5
2021-07-10 11:38:39 -05:00
|
LL | Foo::<10, 12>
| ^^^^^^^^^^^^^ expected `11`, found `12`
2021-07-10 11:38:39 -05:00
|
2022-08-11 21:00:37 -05:00
= note: expected constant `11`
found constant `12`
2021-07-10 11:38:39 -05:00
error: aborting due to previous error
For more information about this error, try `rustc --explain E0308`.