about summary refs log tree commit diff
diff options
context:
space:
mode:
authorlcnr <rust@lcnr.de>2022-02-07 16:35:28 +0100
committerlcnr <rust@lcnr.de>2022-02-08 07:26:07 +0100
commitaf9e30a326b56bca01ef3a7694ab8a117d791885 (patch)
treef3b9add6ff80b75df3f29298b872842649b9ed59
parentc965d0eaf2cecdd3b72a04b9e34fd4eb5d837113 (diff)
downloadrust-af9e30a326b56bca01ef3a7694ab8a117d791885.tar.gz
rust-af9e30a326b56bca01ef3a7694ab8a117d791885.zip
nit
-rw-r--r--src/test/ui/implied-bounds/hrlt-implied-trait-bounds-guard.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/test/ui/implied-bounds/hrlt-implied-trait-bounds-guard.rs b/src/test/ui/implied-bounds/hrlt-implied-trait-bounds-guard.rs
index d79f63d4597..d9de73a38ef 100644
--- a/src/test/ui/implied-bounds/hrlt-implied-trait-bounds-guard.rs
+++ b/src/test/ui/implied-bounds/hrlt-implied-trait-bounds-guard.rs
@@ -1,7 +1,5 @@
 // A test exploiting the bug behind #25860 except with
-// implied trait bounds which currently don't exist,
-//
-// please ping @lcnr if your changes end up causing `badboi` to compile.
+// implied trait bounds which currently don't exist without `-Zchalk`.
 use std::marker::PhantomData;
 struct Foo<'a, 'b, T>(PhantomData<(&'a (), &'b (), T)>)
 where
@@ -26,6 +24,8 @@ impl<'long: 'short, 'short, T> Convert<'long, 'short> for T {
 //     `T: Convert<'in_, 'out>` is not implemented
 //
 // help: needed by `Foo<'in_, 'out, T>`
+//
+// Please ping @lcnr if your changes end up causing `badboi` to compile.
 fn badboi<'in_, 'out, T>(x: Foo<'in_, 'out, T>, sadness: &'in_ T) -> &'out T {
     //~^ ERROR lifetime mismatch
     sadness.cast()