about summary refs log tree commit diff
diff options
context:
space:
mode:
authorOliver Scherer <github35764891676564198441@oli-obk.de>2019-06-19 10:34:32 +0200
committerOliver Scherer <github35764891676564198441@oli-obk.de>2019-06-19 10:34:32 +0200
commit3977cc2b3760d786b6722f1b7f705e57a63fb96e (patch)
tree043af8a505f761f27d4e779ea2e3df0f48cd1e60
parent62af19b614267e949ed7a3da0be9ffa2a40de2fa (diff)
downloadrust-3977cc2b3760d786b6722f1b7f705e57a63fb96e.tar.gz
rust-3977cc2b3760d786b6722f1b7f705e57a63fb96e.zip
Remove now-unnecessary lifetime
-rw-r--r--src/librustc_mir/interpret/intern.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc_mir/interpret/intern.rs b/src/librustc_mir/interpret/intern.rs
index 6ce97ed99ab..d998f40c86e 100644
--- a/src/librustc_mir/interpret/intern.rs
+++ b/src/librustc_mir/interpret/intern.rs
@@ -224,7 +224,7 @@ for
 /// Figure out the mutability of the allocation.
 /// Mutable if it has interior mutability *anywhere* in the type.
 fn intern_mutability<'tcx>(
-    tcx: TyCtxt<'tcx, 'tcx>,
+    tcx: TyCtxt<'tcx>,
     param_env: ParamEnv<'tcx>,
     ty: Ty<'tcx>,
     span: Span,