about summary refs log tree commit diff
path: root/src/test
diff options
context:
space:
mode:
authorEric Holk <ericholk@microsoft.com>2022-05-17 15:36:39 -0700
committerEric Holk <ericholk@microsoft.com>2022-05-19 16:23:28 -0700
commitd08efdec1c0e3c8135a547b2853af49a7f107f7e (patch)
tree5bdeda55400cdd98c6efbb6c5385f7a3fe7393bb /src/test
parent7db4c0277de996531c2e794ba16bb6746af65fef (diff)
downloadrust-d08efdec1c0e3c8135a547b2853af49a7f107f7e.tar.gz
rust-d08efdec1c0e3c8135a547b2853af49a7f107f7e.zip
Borrow guard patterns for the body of the guard
Diffstat (limited to 'src/test')
-rw-r--r--src/test/ui/generator/drop-tracking-yielding-in-match-guards.rs9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/test/ui/generator/drop-tracking-yielding-in-match-guards.rs b/src/test/ui/generator/drop-tracking-yielding-in-match-guards.rs
index c818963e466..646365e4359 100644
--- a/src/test/ui/generator/drop-tracking-yielding-in-match-guards.rs
+++ b/src/test/ui/generator/drop-tracking-yielding-in-match-guards.rs
@@ -2,15 +2,6 @@
 // edition:2018
 // compile-flags: -Zdrop-tracking
 
-// This test is derived from
-// https://github.com/rust-lang/rust/issues/72651#issuecomment-668720468
-
-// This test demonstrates that, in `async fn g()`,
-// indeed a temporary borrow `y` from `x` is live
-// while `f().await` is being evaluated.
-// Thus, `&'_ u8` should be included in type signature
-// of the underlying generator.
-
 #![feature(generators)]
 
 fn main() {