about summary refs log tree commit diff
path: root/src/test/ui/associated-const-impl-wrong-lifetime.rs
diff options
context:
space:
mode:
authorVadim Petrochenkov <vadim.petrochenkov@gmail.com>2017-12-10 23:29:24 +0300
committerVadim Petrochenkov <vadim.petrochenkov@gmail.com>2017-12-14 23:26:39 +0300
commit1f5b201affc48dcf0b637caa9596c11d83e1db94 (patch)
treeeb7044df493bdd2882ee0051003e796202e6f5b0 /src/test/ui/associated-const-impl-wrong-lifetime.rs
parentd4e51a8fb286444a8c276a05a1c3ba6ba8ca6576 (diff)
Remove NOTE/HELP annotations from UI tests
Diffstat (limited to 'src/test/ui/associated-const-impl-wrong-lifetime.rs')
-rw-r--r--src/test/ui/associated-const-impl-wrong-lifetime.rs4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/test/ui/associated-const-impl-wrong-lifetime.rs b/src/test/ui/associated-const-impl-wrong-lifetime.rs
index 51681a4bb88..77653b27fb5 100644
--- a/src/test/ui/associated-const-impl-wrong-lifetime.rs
+++ b/src/test/ui/associated-const-impl-wrong-lifetime.rs
@@ -15,12 +15,8 @@ trait Foo {
 
 
 impl<'a> Foo for &'a () {
-//~^ NOTE the lifetime 'a as defined
     const NAME: &'a str = "unit";
     //~^ ERROR mismatched types [E0308]
-    //~| NOTE lifetime mismatch
-    //~| NOTE expected type `&'static str`
-    //~| NOTE ...does not necessarily outlive the static lifetime
 }
 
 fn main() {}