rust/tests/ui/nll/closure-requirements/propagate-despite-same-free...

24 lines
810 B
Plaintext

note: external requirements
--> $DIR/propagate-despite-same-free-region.rs:42:9
|
LL | |_outlives1, _outlives2, x, y| {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: defining type: supply::{closure#0} with closure args [
i16,
for<Region(BrAnon), Region(BrAnon)> extern "rust-call" fn((std::cell::Cell<&'?1 &'^0 u32>, std::cell::Cell<&'^1 &'?2 u32>, std::cell::Cell<&'^0 u32>, std::cell::Cell<&'^1 u32>)),
(),
]
= note: late-bound region is '?3
= note: number of external vids: 4
= note: where '?1: '?2
note: no external requirements
--> $DIR/propagate-despite-same-free-region.rs:39:1
|
LL | fn supply<'a>(cell_a: Cell<&'a u32>) {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: defining type: supply