Update Rust to 1.10.0-nightly (267cde259 2016-05-25)

This commit is contained in:
Anthony Ramine 2016-05-26 14:44:07 +02:00
parent 7040e2a5f7
commit b170acaae2
2 changed files with 2 additions and 2 deletions

View file

@ -27,7 +27,7 @@ impl LateLintPass for TransmutePass {
match expr.node {
hir::ExprPath(_, ref path) => {
if path.segments.last()
.map_or(false, |ref segment| segment.identifier.name.as_str() == "transmute") &&
.map_or(false, |ref segment| segment.name.as_str() == "transmute") &&
args.len() == 1 {
let tcx = cx.tcx;
cx.span_lint(TRANSMUTE_TYPE_LINT, ex.span,

View file

@ -1 +1 @@
2016-05-17
2016-05-26