]> git.lizzy.rs Git - rust.git/blobdiff - src/test/compile-fail/issue-23595-1.rs
Auto merge of #67290 - jonas-schievink:leak-audit, r=KodrAus
[rust.git] / src / test / compile-fail / issue-23595-1.rs
index 2912c4ead7a0a1cb0d0d10eb6ebe699281203289..483c205f42d6daa3a109942b1cd7e715cbcc5d3e 100644 (file)
@@ -1,12 +1,12 @@
 #![feature(associated_type_defaults)]
 
-use std::ops::{Index};
+use std::ops::Index;
 
 trait Hierarchy {
     type Value;
     type ChildKey;
     type Children = dyn Index<Self::ChildKey, Output=dyn Hierarchy>;
-    //~^ ERROR: the value of the associated types `Value` (from the trait `Hierarchy`), `ChildKey`
+    //~^ ERROR: the value of the associated types
 
     fn data(&self) -> Option<(Self::Value, Self::Children)>;
 }