Skip to content

Commit 03b2fff

Browse files
committed
don't mention specific region numbers in the ~ERROR message
1 parent 65fc086 commit 03b2fff

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/test/ui/nll/ty-outlives/projection-two-region-trait-bound-closure.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ where
3636
T: Anything<'b, 'c>,
3737
{
3838
with_signature(cell, t, |cell, t| require(cell, t));
39-
//~^ ERROR associated type `<T as Anything<'_#5r, '_#6r>>::AssocType` may not live long enough
39+
//~^ ERROR may not live long enough
4040
}
4141

4242
#[rustc_regions]
@@ -46,7 +46,7 @@ where
4646
'a: 'a,
4747
{
4848
with_signature(cell, t, |cell, t| require(cell, t));
49-
//~^ ERROR associated type `<T as Anything<'_#6r, '_#7r>>::AssocType` may not live long enough
49+
//~^ ERROR may not live long enough
5050
}
5151

5252
#[rustc_regions]

0 commit comments

Comments
 (0)