Files
rust/src/test/ui/issues/issue-38091.stderr

22 lines
753 B
Plaintext
Raw Normal View History

2020-06-16 10:06:35 +02:00
warning: the feature `specialization` is incomplete and may not be safe to use and/or cause compiler crashes
--> $DIR/issue-38091.rs:2:12
|
LL | #![feature(specialization)]
| ^^^^^^^^^^^^^^
|
= note: `#[warn(incomplete_features)]` on by default
= note: see issue #31844 <https://github.com/rust-lang/rust/issues/31844> for more information
error[E0277]: the trait bound `(): Valid` is not satisfied
--> $DIR/issue-38091.rs:8:5
|
LL | trait Iterate<'a> {
| ----------------- required by `Iterate`
...
LL | default type Ty = ();
| ^^^^^^^^^^^^^^^^^^^^^ the trait `Valid` is not implemented for `()`
error: aborting due to previous error
2020-06-16 10:06:35 +02:00
For more information about this error, try `rustc --explain E0277`.