Skip to content

Commit

Permalink
rustc_traits: deny(unused_lifetimes).
Browse files Browse the repository at this point in the history
  • Loading branch information
eddyb committed Jun 11, 2019
1 parent d110d30 commit 8dddfde
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/librustc_traits/chalk_context/mod.rs
Expand Up @@ -575,7 +575,7 @@ impl ExClauseFold<'tcx> for ChalkArenas<'tcx> {
}
}

fn visit_ex_clause_with<'gcx: 'tcx, V: TypeVisitor<'tcx>>(
fn visit_ex_clause_with<V: TypeVisitor<'tcx>>(
ex_clause: &ExClause<Self>,
visitor: &mut V,
) -> bool {
Expand Down
1 change: 1 addition & 0 deletions src/librustc_traits/lib.rs
Expand Up @@ -3,6 +3,7 @@

#![deny(rust_2018_idioms)]
#![deny(internal)]
#![deny(unused_lifetimes)]

#![feature(crate_visibility_modifier)]
#![feature(in_band_lifetimes)]
Expand Down

0 comments on commit 8dddfde

Please sign in to comment.