1
Fork 0

Add a known that this is a known limitation

This commit is contained in:
Jack Huey 2022-11-07 17:52:08 -05:00
parent cececca7c7
commit 3c71fafd6d
2 changed files with 4 additions and 0 deletions

View file

@ -69,6 +69,7 @@ impl<'tcx> NiceRegionError<'_, 'tcx> {
}
_ => {}
}
err.note("this is a known limitation that will be removed in the future (see issue #100013 <https://github.com/rust-lang/rust/issues/100013> for more information)");
Some(err)
}