]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/nll/closure-requirements/return-wrong-bound-region.stderr
New upstream version 1.44.1+dfsg1
[rustc.git] / src / test / ui / nll / closure-requirements / return-wrong-bound-region.stderr
index 79ed1501524bd5da4e25e2af6e751d892feab35b..2a382030f935cfa60b2c75268c84079d1a688faa 100644 (file)
@@ -7,6 +7,7 @@ LL |     expect_sig(|a, b| b); // ought to return `a`
    = note: defining type: test::{{closure}}#0 with closure substs [
                i16,
                for<'r, 's> extern "rust-call" fn((&ReLateBound(DebruijnIndex(0), BrNamed('r)) i32, &ReLateBound(DebruijnIndex(0), BrNamed('s)) i32)) -> &ReLateBound(DebruijnIndex(0), BrNamed('r)) i32,
+               (),
            ]
 
 error: lifetime may not live long enough