about summary refs log tree commit diff
path: root/src/librustc_infer/traits/coherence.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/librustc_infer/traits/coherence.rs')
-rw-r--r--src/librustc_infer/traits/coherence.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc_infer/traits/coherence.rs b/src/librustc_infer/traits/coherence.rs
index 9cf4ed8fe57..5f542e7e13b 100644
--- a/src/librustc_infer/traits/coherence.rs
+++ b/src/librustc_infer/traits/coherence.rs
@@ -451,7 +451,7 @@ fn def_id_is_local(def_id: DefId, in_crate: InCrate) -> bool {
     }
 }
 
-fn ty_is_non_local_constructor<'tcx>(ty: Ty<'tcx>, in_crate: InCrate) -> Option<Ty<'tcx>> {
+fn ty_is_non_local_constructor(ty: Ty<'_>, in_crate: InCrate) -> Option<Ty<'_>> {
     debug!("ty_is_non_local_constructor({:?})", ty);
 
     match ty.kind {