2023-10-15 03:51:54 -05:00
|
|
|
error[E0308]: mismatched types
|
2023-07-29 03:20:25 -05:00
|
|
|
--> $DIR/trait-where-clause-const.rs:21:5
|
|
|
|
|
|
|
|
|
LL | T::b();
|
2023-10-15 03:51:54 -05:00
|
|
|
| ^^^^^^ expected `host`, found `true`
|
2023-07-29 03:20:25 -05:00
|
|
|
|
|
2023-10-15 03:51:54 -05:00
|
|
|
= note: expected constant `host`
|
|
|
|
found constant `true`
|
2023-07-29 03:20:25 -05:00
|
|
|
|
2023-10-15 03:51:54 -05:00
|
|
|
error[E0308]: mismatched types
|
|
|
|
--> $DIR/trait-where-clause-const.rs:23:5
|
2023-07-29 03:20:25 -05:00
|
|
|
|
|
2023-08-13 08:59:19 -05:00
|
|
|
LL | T::c::<T>();
|
2023-10-15 03:51:54 -05:00
|
|
|
| ^^^^^^^^^^^ expected `host`, found `true`
|
2023-07-29 03:20:25 -05:00
|
|
|
|
|
2023-10-15 03:51:54 -05:00
|
|
|
= note: expected constant `host`
|
|
|
|
found constant `true`
|
2023-07-29 03:20:25 -05:00
|
|
|
|
2023-08-13 08:59:19 -05:00
|
|
|
error: aborting due to 2 previous errors
|
2023-07-29 03:20:25 -05:00
|
|
|
|
2023-10-15 03:51:54 -05:00
|
|
|
For more information about this error, try `rustc --explain E0308`.
|