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