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
340 B
Plaintext
Raw Normal View History

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