]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/issues/issue-20162.stderr
New upstream version 1.62.1+dfsg1
[rustc.git] / src / test / ui / issues / issue-20162.stderr
index 6848c3f0d8a546cc01d1b50a7bc78caec63a081d..d70bf6e1d921c3618744544c4763648cd8057d27 100644 (file)
@@ -9,6 +9,10 @@ note: required by a bound in `slice::<impl [T]>::sort`
    |
 LL |         T: Ord,
    |            ^^^ required by this bound in `slice::<impl [T]>::sort`
+help: consider annotating `X` with `#[derive(Ord)]`
+   |
+LL | #[derive(Ord)]
+   |
 
 error: aborting due to previous error