Update Rust to 1.15.0-nightly (71c06a56a 2016-12-18)

This commit is contained in:
Ms2ger 2016-12-06 17:56:31 -10:00 committed by Anthony Ramine
parent fd5733fc1e
commit 2cc1b84f34
8 changed files with 37 additions and 41 deletions

View file

@ -22,7 +22,7 @@ impl LintPass for InheritancePass {
}
}
impl LateLintPass for InheritancePass {
impl<'a, 'tcx> LateLintPass<'a, 'tcx> for InheritancePass {
fn check_struct_def(&mut self, cx: &LateContext, def: &hir::VariantData, _n: ast::Name,
_gen: &hir::Generics, id: ast::NodeId) {
// Lints are run post expansion, so it's fine to use