mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-27 01:04:03 +00:00
39 lines
1.0 KiB
Plaintext
39 lines
1.0 KiB
Plaintext
note: external requirements
|
|
--> $DIR/nested-closures-regions.rs:8:24
|
|
|
|
|
LL | for<'a> || -> () { for<'c> |_: &'a ()| -> () {}; };
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
= note: defining type: main::{closure#0}::{closure#0} with closure substs [
|
|
i8,
|
|
extern "rust-call" fn((&(),)),
|
|
(),
|
|
]
|
|
= note: late-bound region is '_#4r
|
|
= note: late-bound region is '_#2r
|
|
= note: number of external vids: 3
|
|
= note: where '_#1r: '_#2r
|
|
= note: where '_#2r: '_#1r
|
|
|
|
note: no external requirements
|
|
--> $DIR/nested-closures-regions.rs:8:5
|
|
|
|
|
LL | for<'a> || -> () { for<'c> |_: &'a ()| -> () {}; };
|
|
| ^^^^^^^^^^^^^^^^
|
|
|
|
|
= note: defining type: main::{closure#0} with closure substs [
|
|
i8,
|
|
extern "rust-call" fn(()),
|
|
(),
|
|
]
|
|
= note: late-bound region is '_#2r
|
|
|
|
note: no external requirements
|
|
--> $DIR/nested-closures-regions.rs:7:1
|
|
|
|
|
LL | fn main() {
|
|
| ^^^^^^^^^
|
|
|
|
|
= note: defining type: main
|
|
|