rust/src/test/ui/traits/traits-inductive-overflow-two-traits.stderr

13 lines
415 B
Plaintext
Raw Normal View History

2018-08-08 12:28:26 +00:00
error[E0275]: overflow evaluating the requirement `*mut (): Magic`
2018-12-25 15:56:47 +00:00
--> $DIR/traits-inductive-overflow-two-traits.rs:19:5
2018-08-08 12:28:26 +00:00
|
LL | fn wizard<T: Magic>() { check::<<T as Magic>::X>(); }
2020-04-06 05:15:06 +00:00
| ----- required by this bound in `wizard`
...
2019-03-09 12:03:44 +00:00
LL | wizard::<*mut ()>();
2018-08-08 12:28:26 +00:00
| ^^^^^^^^^^^^^^^^^
error: aborting due to previous error
For more information about this error, try `rustc --explain E0275`.