2025-07-03 09:14:56 +00:00
|
|
|
error[E0277]: the trait bound `(): const Tr` is not satisfied
|
|
|
|
|
--> $DIR/const-closure-trait-method-fail.rs:18:23
|
2024-10-20 19:49:11 +00:00
|
|
|
|
|
2025-07-03 09:14:56 +00:00
|
|
|
LL | const _: () = assert!(need_const_closure(Tr::a) == 42);
|
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
2024-02-01 22:45:00 +00:00
|
|
|
|
2025-07-03 09:14:56 +00:00
|
|
|
error: aborting due to 1 previous error
|
2022-12-28 08:55:01 +00:00
|
|
|
|
2025-07-03 09:14:56 +00:00
|
|
|
For more information about this error, try `rustc --explain E0277`.
|