Update Rust to 1.15.0-nightly (8f02c429a 2016-12-15).

This commit is contained in:
Ms2ger 2016-12-06 17:56:31 -10:00
parent 01b6ad55bd
commit 5618e79768
10 changed files with 29 additions and 21 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