Skip to content

Commit 8dddfde

Browse files
committed
rustc_traits: deny(unused_lifetimes).
1 parent d110d30 commit 8dddfde

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/librustc_traits/chalk_context/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -575,7 +575,7 @@ impl ExClauseFold<'tcx> for ChalkArenas<'tcx> {
575575
}
576576
}
577577

578-
fn visit_ex_clause_with<'gcx: 'tcx, V: TypeVisitor<'tcx>>(
578+
fn visit_ex_clause_with<V: TypeVisitor<'tcx>>(
579579
ex_clause: &ExClause<Self>,
580580
visitor: &mut V,
581581
) -> bool {

src/librustc_traits/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
44
#![deny(rust_2018_idioms)]
55
#![deny(internal)]
6+
#![deny(unused_lifetimes)]
67

78
#![feature(crate_visibility_modifier)]
89
#![feature(in_band_lifetimes)]

0 commit comments

Comments
 (0)