X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=src%2Ftest%2Fui%2Fnll%2Fgenerator-distinct-lifetime.rs;h=64f98456991fda5140f1c5b653c2a40ea45a9454;hb=83c7162d0645059f35ebe76969943f8e44744ab2;hp=60f67b1766c2c5baaa74d29e5420dbe0b27efc26;hpb=2c912e08a86b60249c6b16148b078b4fd30e165e;p=rustc.git diff --git a/src/test/ui/nll/generator-distinct-lifetime.rs b/src/test/ui/nll/generator-distinct-lifetime.rs index 60f67b1766..64f9845699 100644 --- a/src/test/ui/nll/generator-distinct-lifetime.rs +++ b/src/test/ui/nll/generator-distinct-lifetime.rs @@ -16,7 +16,7 @@ // over a yield -- because the data that is borrowed (`*x`) is not // stored on the stack. -// must-compile-successfully +// compile-pass fn foo(x: &mut u32) { move || {