rustup to rustc 1.15.0-dev (3b248a184 2016-12-05)
This commit is contained in:
parent
2e63a5648a
commit
c6e2967b9c
71 changed files with 517 additions and 335 deletions
|
@ -33,7 +33,7 @@ impl LintPass for UnnecessaryMutPassed {
|
|||
}
|
||||
|
||||
impl LateLintPass for UnnecessaryMutPassed {
|
||||
fn check_expr(&mut self, cx: &LateContext, e: &Expr) {
|
||||
fn check_expr<'a, 'tcx: 'a>(&mut self, cx: &LateContext<'a, 'tcx>, e: &'tcx Expr) {
|
||||
let borrowed_table = cx.tcx.tables.borrow();
|
||||
match e.node {
|
||||
ExprCall(ref fn_expr, ref arguments) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue