diff options
| author | Jack Huey <31162821+jackh726@users.noreply.github.com> | 2022-06-26 15:40:45 -0400 |
|---|---|---|
| committer | Jack Huey <31162821+jackh726@users.noreply.github.com> | 2022-09-08 20:55:55 -0400 |
| commit | 1ca9eb8ec3bcf8860d08a4e92f0eb8ebbf112fc4 (patch) | |
| tree | 1dfc3c24565deb51caebc3acc00391267d444a5d /compiler/rustc_borrowck/src/diagnostics | |
| parent | dd0335a27f03c0b654c49d188e122c3a0776c6a3 (diff) | |
| download | rust-1ca9eb8ec3bcf8860d08a4e92f0eb8ebbf112fc4.tar.gz rust-1ca9eb8ec3bcf8860d08a4e92f0eb8ebbf112fc4.zip | |
Remove ReEmpty
Diffstat (limited to 'compiler/rustc_borrowck/src/diagnostics')
| -rw-r--r-- | compiler/rustc_borrowck/src/diagnostics/region_name.rs | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/compiler/rustc_borrowck/src/diagnostics/region_name.rs b/compiler/rustc_borrowck/src/diagnostics/region_name.rs index 75fde53b6cd..ce7c2841662 100644 --- a/compiler/rustc_borrowck/src/diagnostics/region_name.rs +++ b/compiler/rustc_borrowck/src/diagnostics/region_name.rs @@ -357,11 +357,7 @@ impl<'tcx> MirBorrowckCtxt<'_, 'tcx> { ty::BoundRegionKind::BrAnon(_) => None, }, - ty::ReLateBound(..) - | ty::ReVar(..) - | ty::RePlaceholder(..) - | ty::ReEmpty(_) - | ty::ReErased => None, + ty::ReLateBound(..) | ty::ReVar(..) | ty::RePlaceholder(..) | ty::ReErased => None, } } |
