]> git.proxmox.com Git - rustc.git/blobdiff - src/test/compile-fail/issue-20162.rs
Imported Upstream version 1.9.0+dfsg1
[rustc.git] / src / test / compile-fail / issue-20162.rs
index d3a87689ac5e11793d29eef8798d18bda0ca8e48..b2f3a2da516194a1762fe2948529cf1518592363 100644 (file)
@@ -13,5 +13,5 @@ struct X { x: i32 }
 fn main() {
     let mut b: Vec<X> = vec![];
     b.sort();
-    //~^ ERROR the trait `core::cmp::Ord` is not implemented for the type `X`
+    //~^ ERROR `X: std::cmp::Ord` is not satisfied
 }