]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/closure_promotion.rs
Auto merge of #54720 - davidtwco:issue-51191, r=nikomatsakis
[rust.git] / src / test / ui / closure_promotion.rs
index 8826661f84a4b5784f9a8de1129d6390691c3f4a..7f282c7322015cdd4d34714062a074070662e78e 100644 (file)
@@ -12,8 +12,7 @@
 
 #![allow(const_err)]
 
-// nll successfully compiles this. It is a bug.
-// See https://github.com/rust-lang/rust/issues/52384
+// nll successfully compiles this.
 fn main() {
     let x: &'static _ = &|| { let z = 3; z }; //~ ERROR does not live long enough
 }