]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/union/union-derive-eq.rs
New upstream version 1.48.0~beta.8+dfsg1
[rustc.git] / src / test / ui / union / union-derive-eq.rs
index 698c38fac72bce49b1bfa357bcdf2a85edfde962..ac5808e4361eb746d29b0c70badaad19b79a7412 100644 (file)
@@ -12,7 +12,7 @@ struct PartialEqNotEq;
 
 #[derive(Eq)]
 union U2 {
-    a: PartialEqNotEq, //~ ERROR the trait bound `PartialEqNotEq: std::cmp::Eq` is not satisfied
+    a: PartialEqNotEq, //~ ERROR the trait bound `PartialEqNotEq: Eq` is not satisfied
 }
 
 impl PartialEq for U2 { fn eq(&self, rhs: &Self) -> bool { true } }