]> git.lizzy.rs Git - rust.git/blobdiff - src/test/rustdoc-ui/ambiguous-inherent-assoc-ty.rs
Auto merge of #99918 - WaffleLapkin:fnFnfun, r=estebank
[rust.git] / src / test / rustdoc-ui / ambiguous-inherent-assoc-ty.rs
index e58bba640585388f4329ce4dba355cc067bead13..94ea0e93bf6372e09ba9865a1261f4f83276c495 100644 (file)
@@ -1,3 +1,4 @@
+// check-pass
 // This test ensures that rustdoc does not panic on inherented associated types
 // that are referred to without fully-qualified syntax.
 
@@ -9,8 +10,4 @@
 impl Struct {
     pub type AssocTy = usize;
     pub const AssocConst: Self::AssocTy = 42;
-    //~^ ERROR ambiguous associated type
-    //~| HELP use fully-qualified syntax
-    //~| ERROR ambiguous associated type
-    //~| HELP use fully-qualified syntax
 }