We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent be86bc8 commit e20d460Copy full SHA for e20d460
src/librustc/middle/lint.rs
@@ -480,7 +480,7 @@ impl Context {
480
(orig.visit_item)(it, (self, stopping));
481
}
482
NewVisitor(new_visitor) => {
483
- let mut new_visitor = new_visitor;
+ let new_visitor = new_visitor;
484
new_visitor.visit_item(it, ());
485
486
@@ -520,7 +520,7 @@ impl Context {
520
let fk = visit::fk_method(m.ident,
521
&m.generics,
522
m);
523
524
new_visitor.visit_fn(&fk,
525
&m.decl,
526
&m.body,
src/libsyntax/parse/attr.rs
@@ -10,7 +10,6 @@
10
11
use ast;
12
use codemap::{spanned, mk_sp};
13
-use codemap::BytePos;
14
use parse::common::*; //resolve bug?
15
use parse::token;
16
use parse::parser::Parser;
0 commit comments