2022-10-30 22:28:05 -05:00
|
|
|
note: external requirements
|
|
|
|
--> $DIR/nested-closures-regions.rs:8:24
|
|
|
|
|
|
|
|
|
LL | for<'a> || -> () { for<'c> |_: &'a ()| -> () {}; };
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
2023-07-11 16:35:29 -05:00
|
|
|
= note: defining type: main::{closure#0}::{closure#0} with closure args [
|
2022-10-30 22:28:05 -05:00
|
|
|
i8,
|
|
|
|
extern "rust-call" fn((&(),)),
|
|
|
|
(),
|
|
|
|
]
|
2023-04-21 19:08:38 -05:00
|
|
|
= note: late-bound region is '?4
|
|
|
|
= note: late-bound region is '?2
|
2022-10-30 22:28:05 -05:00
|
|
|
= note: number of external vids: 3
|
2023-04-21 19:08:38 -05:00
|
|
|
= note: where '?1: '?2
|
|
|
|
= note: where '?2: '?1
|
2022-10-30 22:28:05 -05:00
|
|
|
|
|
|
|
note: no external requirements
|
|
|
|
--> $DIR/nested-closures-regions.rs:8:5
|
|
|
|
|
|
|
|
|
LL | for<'a> || -> () { for<'c> |_: &'a ()| -> () {}; };
|
|
|
|
| ^^^^^^^^^^^^^^^^
|
|
|
|
|
|
2023-07-11 16:35:29 -05:00
|
|
|
= note: defining type: main::{closure#0} with closure args [
|
2022-10-30 22:28:05 -05:00
|
|
|
i8,
|
|
|
|
extern "rust-call" fn(()),
|
|
|
|
(),
|
|
|
|
]
|
2023-04-21 19:08:38 -05:00
|
|
|
= note: late-bound region is '?2
|
2022-10-30 22:28:05 -05:00
|
|
|
|
|
|
|
note: no external requirements
|
|
|
|
--> $DIR/nested-closures-regions.rs:7:1
|
|
|
|
|
|
|
|
|
LL | fn main() {
|
|
|
|
| ^^^^^^^^^
|
|
|
|
|
|
|
|
|
= note: defining type: main
|
|
|
|
|