mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
Update Rust to 1.10.0-nightly (267cde259 2016-05-25)
This commit is contained in:
parent
7040e2a5f7
commit
b170acaae2
2 changed files with 2 additions and 2 deletions
|
@ -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,
|
||||
|
|
|
@ -1 +1 @@
|
|||
2016-05-17
|
||||
2016-05-26
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue