fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
905 B24 linesraw
1warning: 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   |
4LL | #![feature(specialization)]
5   |            ^^^^^^^^^^^^^^
6   |
7   = note: see issue #31844 <https://github.com/rust-lang/rust/issues/31844> for more information
8   = help: consider using `min_specialization` instead, which is more stable and complete
9   = note: `#[warn(incomplete_features)]` on by default
10
11error[E0275]: overflow evaluating the requirement `i32: Check`
12   |
13note: required for `i32` to implement `Iterate<'_>`
14  --> $DIR/issue-38091-2.rs:11:13
15   |
16LL | impl<'a, T> Iterate<'a> for T
17   |             ^^^^^^^^^^^     ^
18LL | where
19LL |     T: Check,
20   |        ----- unsatisfied trait bound introduced here
21
22error: aborting due to previous error; 1 warning emitted
23
24For more information about this error, try `rustc --explain E0275`.