summaryrefslogtreecommitdiffstats
path: root/tests/ui/nll/ty-outlives
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/nll/ty-outlives')
-rw-r--r--tests/ui/nll/ty-outlives/projection-no-regions-closure.stderr8
-rw-r--r--tests/ui/nll/ty-outlives/projection-one-region-closure.stderr8
-rw-r--r--tests/ui/nll/ty-outlives/projection-one-region-trait-bound-closure.stderr10
-rw-r--r--tests/ui/nll/ty-outlives/projection-one-region-trait-bound-static-closure.stderr10
-rw-r--r--tests/ui/nll/ty-outlives/projection-two-region-trait-bound-closure.stderr16
-rw-r--r--tests/ui/nll/ty-outlives/ty-param-closure-approximate-lower-bound.stderr4
-rw-r--r--tests/ui/nll/ty-outlives/ty-param-closure-outlives-from-return-type.stderr2
-rw-r--r--tests/ui/nll/ty-outlives/ty-param-closure-outlives-from-where-clause.stderr8
8 files changed, 33 insertions, 33 deletions
diff --git a/tests/ui/nll/ty-outlives/projection-no-regions-closure.stderr b/tests/ui/nll/ty-outlives/projection-no-regions-closure.stderr
index 4eefb180e..433024c30 100644
--- a/tests/ui/nll/ty-outlives/projection-no-regions-closure.stderr
+++ b/tests/ui/nll/ty-outlives/projection-no-regions-closure.stderr
@@ -4,7 +4,7 @@ note: external requirements
LL | with_signature(x, |mut y| Box::new(y.next()))
| ^^^^^^^
|
- = note: defining type: no_region::<'?1, T>::{closure#0} with closure substs [
+ = note: defining type: no_region::<'?1, T>::{closure#0} with closure args [
i32,
extern "rust-call" fn((std::boxed::Box<T>,)) -> std::boxed::Box<(dyn Anything + '?2)>,
(),
@@ -37,7 +37,7 @@ note: external requirements
LL | with_signature(x, |mut y| Box::new(y.next()))
| ^^^^^^^
|
- = note: defining type: correct_region::<'?1, T>::{closure#0} with closure substs [
+ = note: defining type: correct_region::<'?1, T>::{closure#0} with closure args [
i32,
extern "rust-call" fn((std::boxed::Box<T>,)) -> std::boxed::Box<(dyn Anything + '?2)>,
(),
@@ -61,7 +61,7 @@ note: external requirements
LL | with_signature(x, |mut y| Box::new(y.next()))
| ^^^^^^^
|
- = note: defining type: wrong_region::<'?1, '?2, T>::{closure#0} with closure substs [
+ = note: defining type: wrong_region::<'?1, '?2, T>::{closure#0} with closure args [
i32,
extern "rust-call" fn((std::boxed::Box<T>,)) -> std::boxed::Box<(dyn Anything + '?3)>,
(),
@@ -94,7 +94,7 @@ note: external requirements
LL | with_signature(x, |mut y| Box::new(y.next()))
| ^^^^^^^
|
- = note: defining type: outlives_region::<'?1, '?2, T>::{closure#0} with closure substs [
+ = note: defining type: outlives_region::<'?1, '?2, T>::{closure#0} with closure args [
i32,
extern "rust-call" fn((std::boxed::Box<T>,)) -> std::boxed::Box<(dyn Anything + '?3)>,
(),
diff --git a/tests/ui/nll/ty-outlives/projection-one-region-closure.stderr b/tests/ui/nll/ty-outlives/projection-one-region-closure.stderr
index 986c2bd21..ebdce7bc1 100644
--- a/tests/ui/nll/ty-outlives/projection-one-region-closure.stderr
+++ b/tests/ui/nll/ty-outlives/projection-one-region-closure.stderr
@@ -4,7 +4,7 @@ note: external requirements
LL | with_signature(cell, t, |cell, t| require(cell, t));
| ^^^^^^^^^
|
- = note: defining type: no_relationships_late::<'?1, T>::{closure#0} with closure substs [
+ = note: defining type: no_relationships_late::<'?1, T>::{closure#0} with closure args [
i32,
extern "rust-call" fn((std::cell::Cell<&'?2 ()>, T)),
(),
@@ -54,7 +54,7 @@ note: external requirements
LL | with_signature(cell, t, |cell, t| require(cell, t));
| ^^^^^^^^^
|
- = note: defining type: no_relationships_early::<'?1, '?2, T>::{closure#0} with closure substs [
+ = note: defining type: no_relationships_early::<'?1, '?2, T>::{closure#0} with closure args [
i32,
extern "rust-call" fn((std::cell::Cell<&'?3 ()>, T)),
(),
@@ -104,7 +104,7 @@ note: external requirements
LL | with_signature(cell, t, |cell, t| require(cell, t));
| ^^^^^^^^^
|
- = note: defining type: projection_outlives::<'?1, '?2, T>::{closure#0} with closure substs [
+ = note: defining type: projection_outlives::<'?1, '?2, T>::{closure#0} with closure args [
i32,
extern "rust-call" fn((std::cell::Cell<&'?3 ()>, T)),
(),
@@ -129,7 +129,7 @@ note: external requirements
LL | with_signature(cell, t, |cell, t| require(cell, t));
| ^^^^^^^^^
|
- = note: defining type: elements_outlive::<'?1, '?2, T>::{closure#0} with closure substs [
+ = note: defining type: elements_outlive::<'?1, '?2, T>::{closure#0} with closure args [
i32,
extern "rust-call" fn((std::cell::Cell<&'?3 ()>, T)),
(),
diff --git a/tests/ui/nll/ty-outlives/projection-one-region-trait-bound-closure.stderr b/tests/ui/nll/ty-outlives/projection-one-region-trait-bound-closure.stderr
index 25cc60d81..52040663e 100644
--- a/tests/ui/nll/ty-outlives/projection-one-region-trait-bound-closure.stderr
+++ b/tests/ui/nll/ty-outlives/projection-one-region-trait-bound-closure.stderr
@@ -4,7 +4,7 @@ note: external requirements
LL | with_signature(cell, t, |cell, t| require(cell, t));
| ^^^^^^^^^
|
- = note: defining type: no_relationships_late::<'?1, T>::{closure#0} with closure substs [
+ = note: defining type: no_relationships_late::<'?1, T>::{closure#0} with closure args [
i32,
extern "rust-call" fn((std::cell::Cell<&'?2 ()>, T)),
(),
@@ -42,7 +42,7 @@ note: external requirements
LL | with_signature(cell, t, |cell, t| require(cell, t));
| ^^^^^^^^^
|
- = note: defining type: no_relationships_early::<'?1, '?2, T>::{closure#0} with closure substs [
+ = note: defining type: no_relationships_early::<'?1, '?2, T>::{closure#0} with closure args [
i32,
extern "rust-call" fn((std::cell::Cell<&'?3 ()>, T)),
(),
@@ -80,7 +80,7 @@ note: external requirements
LL | with_signature(cell, t, |cell, t| require(cell, t));
| ^^^^^^^^^
|
- = note: defining type: projection_outlives::<'?1, '?2, T>::{closure#0} with closure substs [
+ = note: defining type: projection_outlives::<'?1, '?2, T>::{closure#0} with closure args [
i32,
extern "rust-call" fn((std::cell::Cell<&'?3 ()>, T)),
(),
@@ -105,7 +105,7 @@ note: external requirements
LL | with_signature(cell, t, |cell, t| require(cell, t));
| ^^^^^^^^^
|
- = note: defining type: elements_outlive::<'?1, '?2, T>::{closure#0} with closure substs [
+ = note: defining type: elements_outlive::<'?1, '?2, T>::{closure#0} with closure args [
i32,
extern "rust-call" fn((std::cell::Cell<&'?3 ()>, T)),
(),
@@ -130,7 +130,7 @@ note: external requirements
LL | with_signature(cell, t, |cell, t| require(cell, t));
| ^^^^^^^^^
|
- = note: defining type: one_region::<'?1, T>::{closure#0} with closure substs [
+ = note: defining type: one_region::<'?1, T>::{closure#0} with closure args [
i32,
extern "rust-call" fn((std::cell::Cell<&'?2 ()>, T)),
(),
diff --git a/tests/ui/nll/ty-outlives/projection-one-region-trait-bound-static-closure.stderr b/tests/ui/nll/ty-outlives/projection-one-region-trait-bound-static-closure.stderr
index 5a092d7b8..97be61b77 100644
--- a/tests/ui/nll/ty-outlives/projection-one-region-trait-bound-static-closure.stderr
+++ b/tests/ui/nll/ty-outlives/projection-one-region-trait-bound-static-closure.stderr
@@ -4,7 +4,7 @@ note: no external requirements
LL | with_signature(cell, t, |cell, t| require(cell, t));
| ^^^^^^^^^
|
- = note: defining type: no_relationships_late::<'?1, T>::{closure#0} with closure substs [
+ = note: defining type: no_relationships_late::<'?1, T>::{closure#0} with closure args [
i32,
extern "rust-call" fn((std::cell::Cell<&'?2 ()>, T)),
(),
@@ -27,7 +27,7 @@ note: no external requirements
LL | with_signature(cell, t, |cell, t| require(cell, t));
| ^^^^^^^^^
|
- = note: defining type: no_relationships_early::<'?1, '?2, T>::{closure#0} with closure substs [
+ = note: defining type: no_relationships_early::<'?1, '?2, T>::{closure#0} with closure args [
i32,
extern "rust-call" fn((std::cell::Cell<&'?3 ()>, T)),
(),
@@ -50,7 +50,7 @@ note: no external requirements
LL | with_signature(cell, t, |cell, t| require(cell, t));
| ^^^^^^^^^
|
- = note: defining type: projection_outlives::<'?1, '?2, T>::{closure#0} with closure substs [
+ = note: defining type: projection_outlives::<'?1, '?2, T>::{closure#0} with closure args [
i32,
extern "rust-call" fn((std::cell::Cell<&'?3 ()>, T)),
(),
@@ -73,7 +73,7 @@ note: no external requirements
LL | with_signature(cell, t, |cell, t| require(cell, t));
| ^^^^^^^^^
|
- = note: defining type: elements_outlive::<'?1, '?2, T>::{closure#0} with closure substs [
+ = note: defining type: elements_outlive::<'?1, '?2, T>::{closure#0} with closure args [
i32,
extern "rust-call" fn((std::cell::Cell<&'?3 ()>, T)),
(),
@@ -96,7 +96,7 @@ note: no external requirements
LL | with_signature(cell, t, |cell, t| require(cell, t));
| ^^^^^^^^^
|
- = note: defining type: one_region::<'?1, T>::{closure#0} with closure substs [
+ = note: defining type: one_region::<'?1, T>::{closure#0} with closure args [
i32,
extern "rust-call" fn((std::cell::Cell<&'?2 ()>, T)),
(),
diff --git a/tests/ui/nll/ty-outlives/projection-two-region-trait-bound-closure.stderr b/tests/ui/nll/ty-outlives/projection-two-region-trait-bound-closure.stderr
index 51283aa88..dbad8e478 100644
--- a/tests/ui/nll/ty-outlives/projection-two-region-trait-bound-closure.stderr
+++ b/tests/ui/nll/ty-outlives/projection-two-region-trait-bound-closure.stderr
@@ -4,7 +4,7 @@ note: external requirements
LL | with_signature(cell, t, |cell, t| require(cell, t));
| ^^^^^^^^^
|
- = note: defining type: no_relationships_late::<'?1, '?2, T>::{closure#0} with closure substs [
+ = note: defining type: no_relationships_late::<'?1, '?2, T>::{closure#0} with closure args [
i32,
extern "rust-call" fn((std::cell::Cell<&'?3 ()>, T)),
(),
@@ -38,7 +38,7 @@ note: external requirements
LL | with_signature(cell, t, |cell, t| require(cell, t));
| ^^^^^^^^^
|
- = note: defining type: no_relationships_early::<'?1, '?2, '?3, T>::{closure#0} with closure substs [
+ = note: defining type: no_relationships_early::<'?1, '?2, '?3, T>::{closure#0} with closure args [
i32,
extern "rust-call" fn((std::cell::Cell<&'?4 ()>, T)),
(),
@@ -72,7 +72,7 @@ note: external requirements
LL | with_signature(cell, t, |cell, t| require(cell, t));
| ^^^^^^^^^
|
- = note: defining type: projection_outlives::<'?1, '?2, '?3, T>::{closure#0} with closure substs [
+ = note: defining type: projection_outlives::<'?1, '?2, '?3, T>::{closure#0} with closure args [
i32,
extern "rust-call" fn((std::cell::Cell<&'?4 ()>, T)),
(),
@@ -97,7 +97,7 @@ note: external requirements
LL | with_signature(cell, t, |cell, t| require(cell, t));
| ^^^^^^^^^
|
- = note: defining type: elements_outlive1::<'?1, '?2, '?3, T>::{closure#0} with closure substs [
+ = note: defining type: elements_outlive1::<'?1, '?2, '?3, T>::{closure#0} with closure args [
i32,
extern "rust-call" fn((std::cell::Cell<&'?4 ()>, T)),
(),
@@ -122,7 +122,7 @@ note: external requirements
LL | with_signature(cell, t, |cell, t| require(cell, t));
| ^^^^^^^^^
|
- = note: defining type: elements_outlive2::<'?1, '?2, '?3, T>::{closure#0} with closure substs [
+ = note: defining type: elements_outlive2::<'?1, '?2, '?3, T>::{closure#0} with closure args [
i32,
extern "rust-call" fn((std::cell::Cell<&'?4 ()>, T)),
(),
@@ -147,7 +147,7 @@ note: external requirements
LL | with_signature(cell, t, |cell, t| require(cell, t));
| ^^^^^^^^^
|
- = note: defining type: two_regions::<'?1, T>::{closure#0} with closure substs [
+ = note: defining type: two_regions::<'?1, T>::{closure#0} with closure args [
i32,
extern "rust-call" fn((std::cell::Cell<&'?2 ()>, T)),
(),
@@ -188,7 +188,7 @@ note: external requirements
LL | with_signature(cell, t, |cell, t| require(cell, t));
| ^^^^^^^^^
|
- = note: defining type: two_regions_outlive::<'?1, '?2, T>::{closure#0} with closure substs [
+ = note: defining type: two_regions_outlive::<'?1, '?2, T>::{closure#0} with closure args [
i32,
extern "rust-call" fn((std::cell::Cell<&'?3 ()>, T)),
(),
@@ -213,7 +213,7 @@ note: external requirements
LL | with_signature(cell, t, |cell, t| require(cell, t));
| ^^^^^^^^^
|
- = note: defining type: one_region::<'?1, T>::{closure#0} with closure substs [
+ = note: defining type: one_region::<'?1, T>::{closure#0} with closure args [
i32,
extern "rust-call" fn((std::cell::Cell<&'?2 ()>, T)),
(),
diff --git a/tests/ui/nll/ty-outlives/ty-param-closure-approximate-lower-bound.stderr b/tests/ui/nll/ty-outlives/ty-param-closure-approximate-lower-bound.stderr
index 04616f9b7..660211fe2 100644
--- a/tests/ui/nll/ty-outlives/ty-param-closure-approximate-lower-bound.stderr
+++ b/tests/ui/nll/ty-outlives/ty-param-closure-approximate-lower-bound.stderr
@@ -4,7 +4,7 @@ note: external requirements
LL | twice(cell, value, |a, b| invoke(a, b));
| ^^^^^^
|
- = note: defining type: generic::<T>::{closure#0} with closure substs [
+ = note: defining type: generic::<T>::{closure#0} with closure args [
i16,
for<Region(BrAnon(None)), Region(BrAnon(None))> extern "rust-call" fn((std::option::Option<std::cell::Cell<&'?1 &ReLateBound(DebruijnIndex(0), BoundRegion { var: 0, kind: BrAnon(None) }) ()>>, &ReLateBound(DebruijnIndex(0), BoundRegion { var: 1, kind: BrAnon(None) }) T)),
(),
@@ -26,7 +26,7 @@ note: external requirements
LL | twice(cell, value, |a, b| invoke(a, b));
| ^^^^^^
|
- = note: defining type: generic_fail::<T>::{closure#0} with closure substs [
+ = note: defining type: generic_fail::<T>::{closure#0} with closure args [
i16,
for<Region(BrAnon(None)), Region(BrAnon(None))> extern "rust-call" fn((std::option::Option<std::cell::Cell<&'?1 &ReLateBound(DebruijnIndex(0), BoundRegion { var: 0, kind: BrAnon(None) }) ()>>, &ReLateBound(DebruijnIndex(0), BoundRegion { var: 1, kind: BrAnon(None) }) T)),
(),
diff --git a/tests/ui/nll/ty-outlives/ty-param-closure-outlives-from-return-type.stderr b/tests/ui/nll/ty-outlives/ty-param-closure-outlives-from-return-type.stderr
index d580774ff..ddad1d205 100644
--- a/tests/ui/nll/ty-outlives/ty-param-closure-outlives-from-return-type.stderr
+++ b/tests/ui/nll/ty-outlives/ty-param-closure-outlives-from-return-type.stderr
@@ -4,7 +4,7 @@ note: external requirements
LL | with_signature(x, |y| y)
| ^^^
|
- = note: defining type: no_region::<'?1, T>::{closure#0} with closure substs [
+ = note: defining type: no_region::<'?1, T>::{closure#0} with closure args [
i32,
extern "rust-call" fn((std::boxed::Box<T>,)) -> std::boxed::Box<(dyn std::fmt::Debug + '?2)>,
(),
diff --git a/tests/ui/nll/ty-outlives/ty-param-closure-outlives-from-where-clause.stderr b/tests/ui/nll/ty-outlives/ty-param-closure-outlives-from-where-clause.stderr
index 3d4c11a3c..bb455e9ae 100644
--- a/tests/ui/nll/ty-outlives/ty-param-closure-outlives-from-where-clause.stderr
+++ b/tests/ui/nll/ty-outlives/ty-param-closure-outlives-from-where-clause.stderr
@@ -4,7 +4,7 @@ note: external requirements
LL | with_signature(a, b, |x, y| {
| ^^^^^^
|
- = note: defining type: no_region::<T>::{closure#0} with closure substs [
+ = note: defining type: no_region::<T>::{closure#0} with closure args [
i32,
extern "rust-call" fn((std::cell::Cell<&'?1 ()>, T)),
(),
@@ -38,7 +38,7 @@ note: external requirements
LL | with_signature(a, b, |x, y| {
| ^^^^^^
|
- = note: defining type: correct_region::<'?1, T>::{closure#0} with closure substs [
+ = note: defining type: correct_region::<'?1, T>::{closure#0} with closure args [
i32,
extern "rust-call" fn((std::cell::Cell<&'?2 ()>, T)),
(),
@@ -62,7 +62,7 @@ note: external requirements
LL | with_signature(a, b, |x, y| {
| ^^^^^^
|
- = note: defining type: wrong_region::<'?1, T>::{closure#0} with closure substs [
+ = note: defining type: wrong_region::<'?1, T>::{closure#0} with closure args [
i32,
extern "rust-call" fn((std::cell::Cell<&'?2 ()>, T)),
(),
@@ -98,7 +98,7 @@ note: external requirements
LL | with_signature(a, b, |x, y| {
| ^^^^^^
|
- = note: defining type: outlives_region::<'?1, '?2, T>::{closure#0} with closure substs [
+ = note: defining type: outlives_region::<'?1, '?2, T>::{closure#0} with closure args [
i32,
extern "rust-call" fn((std::cell::Cell<&'?3 ()>, T)),
(),