Files
rust/tests/ui/consts/fn_trait_refs.stderr

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

23 lines
751 B
Plaintext
Raw Normal View History

2023-04-16 11:12:37 +00:00
error[E0635]: unknown feature `const_fn_trait_ref_impls`
--> $DIR/fn_trait_refs.rs:3:12
|
LL | #![feature(const_fn_trait_ref_impls)]
| ^^^^^^^^^^^^^^^^^^^^^^^^
2025-06-20 14:44:20 +00:00
error[E0277]: the trait bound `(i32, i32, i32): const PartialEq` is not satisfied
2024-12-29 04:42:21 +00:00
--> $DIR/fn_trait_refs.rs:71:17
|
2024-12-29 04:42:21 +00:00
LL | assert!(test_one == (1, 1, 1));
| ^^^^^^^^^^^^^^^^^^^^^
2024-11-24 00:30:16 +00:00
2025-06-20 14:44:20 +00:00
error[E0277]: the trait bound `(i32, i32): const PartialEq` is not satisfied
2024-12-29 04:42:21 +00:00
--> $DIR/fn_trait_refs.rs:74:17
|
2024-12-29 04:42:21 +00:00
LL | assert!(test_two == (2, 2));
| ^^^^^^^^^^^^^^^^^^
2025-07-03 09:14:56 +00:00
error: aborting due to 3 previous errors
2023-04-16 11:12:37 +00:00
2025-07-03 09:14:56 +00:00
Some errors have detailed explanations: E0277, E0635.
For more information about an error, try `rustc --explain E0277`.