Skip to content

Commit

Permalink
don't mention specific region numbers in the ~ERROR message
Browse files Browse the repository at this point in the history
  • Loading branch information
nikomatsakis committed Feb 6, 2020
1 parent 65fc086 commit 03b2fff
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -36,7 +36,7 @@ where
T: Anything<'b, 'c>,
{
with_signature(cell, t, |cell, t| require(cell, t));
//~^ ERROR associated type `<T as Anything<'_#5r, '_#6r>>::AssocType` may not live long enough
//~^ ERROR may not live long enough
}

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

#[rustc_regions]
Expand Down

0 comments on commit 03b2fff

Please sign in to comment.