]> git.proxmox.com Git - rustc.git/blob - src/test/ui/issues/issue-20162.stderr
Update unsuspicious file list
[rustc.git] / src / test / ui / issues / issue-20162.stderr
1 error[E0277]: the trait bound `X: Ord` is not satisfied
2 --> $DIR/issue-20162.rs:5:5
3 |
4 LL | b.sort();
5 | ^ ---- required by a bound introduced by this call
6 | |
7 | the trait `Ord` is not implemented for `X`
8 |
9 note: required by a bound in `slice::<impl [T]>::sort`
10 --> $SRC_DIR/alloc/src/slice.rs:LL:COL
11 |
12 LL | T: Ord,
13 | ^^^ required by this bound in `slice::<impl [T]>::sort`
14 help: consider annotating `X` with `#[derive(Ord)]`
15 |
16 LL | #[derive(Ord)]
17 |
18
19 error: aborting due to previous error
20
21 For more information about this error, try `rustc --explain E0277`.