about summary refs log tree commit diff
path: root/compiler/rustc_borrowck/src/diagnostics/mod.rs
diff options
context:
space:
mode:
authorOli Scherer <git-spam-no-reply9815368754983@oli-obk.de>2024-06-24 14:28:08 +0000
committerOli Scherer <git-spam-no-reply9815368754983@oli-obk.de>2024-06-24 14:28:14 +0000
commit8fc6b3de190cc4b669082a094ed1cc5d89d8f9d7 (patch)
tree5fc1750349542f9623e8484c4dd0069a2e786800 /compiler/rustc_borrowck/src/diagnostics/mod.rs
parent1c4d0ced58ee9452b26efaac93af59f63fe109f2 (diff)
downloadrust-8fc6b3de190cc4b669082a094ed1cc5d89d8f9d7.tar.gz
rust-8fc6b3de190cc4b669082a094ed1cc5d89d8f9d7.zip
Separate the mir body lifetime from the other lifetimes
Diffstat (limited to 'compiler/rustc_borrowck/src/diagnostics/mod.rs')
-rw-r--r--compiler/rustc_borrowck/src/diagnostics/mod.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/rustc_borrowck/src/diagnostics/mod.rs b/compiler/rustc_borrowck/src/diagnostics/mod.rs
index 01b9918474a..842ed38f1e2 100644
--- a/compiler/rustc_borrowck/src/diagnostics/mod.rs
+++ b/compiler/rustc_borrowck/src/diagnostics/mod.rs
@@ -69,7 +69,7 @@ pub(super) struct DescribePlaceOpt {
 
 pub(super) struct IncludingTupleField(pub(super) bool);
 
-impl<'cx, 'tcx> MirBorrowckCtxt<'_, 'cx, 'tcx> {
+impl<'tcx> MirBorrowckCtxt<'_, '_, '_, 'tcx> {
     /// Adds a suggestion when a closure is invoked twice with a moved variable or when a closure
     /// is moved after being invoked.
     ///
@@ -771,7 +771,7 @@ struct CapturedMessageOpt {
     maybe_reinitialized_locations_is_empty: bool,
 }
 
-impl<'cx, 'tcx> MirBorrowckCtxt<'_, 'cx, 'tcx> {
+impl<'tcx> MirBorrowckCtxt<'_, '_, '_, 'tcx> {
     /// Finds the spans associated to a move or copy of move_place at location.
     pub(super) fn move_spans(
         &self,