1
Fork 0

Rollup merge of #92018 - estebank:missing-ticks, r=oli-obk

Fix typo in "new region bound" suggestion

The lifetime name shoud always appear in text surrounded by `.
This commit is contained in:
Matthias Krüger 2021-12-18 11:28:05 +01:00 committed by GitHub
commit fedb525e11
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
13 changed files with 21 additions and 21 deletions

View file

@ -275,7 +275,7 @@ pub fn unexpected_hidden_region_diagnostic(
fn_returns,
hidden_region.to_string(),
None,
format!("captures {}", hidden_region),
format!("captures `{}`", hidden_region),
None,
)
}