rustc_borrowck: deny(unused_lifetimes).
This commit is contained in:
parent
8dddfde6e3
commit
7b353f215f
2 changed files with 2 additions and 1 deletions
|
@ -1487,7 +1487,7 @@ impl DataFlowOperator for LoanDataFlowOperator {
|
|||
}
|
||||
}
|
||||
|
||||
impl<'tcx> fmt::Debug for InteriorKind {
|
||||
impl fmt::Debug for InteriorKind {
|
||||
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
|
||||
match *self {
|
||||
InteriorField(mc::FieldIndex(_, info)) => write!(f, "{}", info),
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
#![allow(non_camel_case_types)]
|
||||
#![deny(rust_2018_idioms)]
|
||||
#![deny(internal)]
|
||||
#![deny(unused_lifetimes)]
|
||||
|
||||
#![feature(nll)]
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue