]> git.lizzy.rs Git - rust.git/blob - src/test/ui/specialization/issue-38091-2.stderr
Point at `impl` and type defs introducing requirements on E0277
[rust.git] / src / test / ui / specialization / issue-38091-2.stderr
1 warning: the feature `specialization` is incomplete and may not be safe to use and/or cause compiler crashes
2   --> $DIR/issue-38091-2.rs:4:12
3    |
4 LL | #![feature(specialization)]
5    |            ^^^^^^^^^^^^^^
6    |
7    = note: `#[warn(incomplete_features)]` on by default
8    = note: see issue #31844 <https://github.com/rust-lang/rust/issues/31844> for more information
9    = help: consider using `min_specialization` instead, which is more stable and complete
10
11 error[E0275]: overflow evaluating the requirement `i32: Check`
12    |
13 note: required because of the requirements on the impl of `Iterate` for `i32`
14   --> $DIR/issue-38091-2.rs:11:13
15    |
16 LL | impl<'a, T> Iterate<'a> for T
17    |             ^^^^^^^^^^^     ^
18
19 error: aborting due to previous error; 1 warning emitted
20
21 For more information about this error, try `rustc --explain E0275`.