Skip to content

Commit 3464532

Browse files
authored
Merge pull request #1126 from Manishearth/rustup
Rustup to rustc 1.12.0-nightly (1225e12 2016-07-30) and bump to 0.0.80
2 parents 04c8108 + b901e76 commit 3464532

File tree

4 files changed

+8
-5
lines changed

4 files changed

+8
-5
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
# Change Log
22
All notable changes to this project will be documented in this file.
33

4+
## 0.0.80 — 2016-07-31
5+
* Rustup to *rustc 1.12.0-nightly (1225e122f 2016-07-30)*
6+
47
## 0.0.79 — 2016-07-10
58
* Rustup to *rustc 1.12.0-nightly (f93aaf84c 2016-07-09)*
69
* Major suggestions refactoring

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "clippy"
3-
version = "0.0.79"
3+
version = "0.0.80"
44
authors = [
55
"Manish Goregaokar <[email protected]>",
66
"Andre Bogus <[email protected]>",
@@ -25,7 +25,7 @@ test = false
2525

2626
[dependencies]
2727
# begin automatic update
28-
clippy_lints = { version = "0.0.79", path = "clippy_lints" }
28+
clippy_lints = { version = "0.0.80", path = "clippy_lints" }
2929
# end automatic update
3030

3131
[dev-dependencies]

clippy_lints/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "clippy_lints"
33
# begin automatic update
4-
version = "0.0.79"
4+
version = "0.0.80"
55
# end automatic update
66
authors = [
77
"Manish Goregaokar <[email protected]>",

clippy_lints/src/unused_label.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,13 +47,13 @@ impl LintPass for UnusedLabel {
4747
}
4848

4949
impl LateLintPass for UnusedLabel {
50-
fn check_fn(&mut self, cx: &LateContext, kind: FnKind, decl: &hir::FnDecl, body: &hir::Block, span: Span, _: ast::NodeId) {
50+
fn check_fn(&mut self, cx: &LateContext, kind: FnKind, decl: &hir::FnDecl, body: &hir::Block, span: Span, fn_id: ast::NodeId) {
5151
if in_macro(cx, span) {
5252
return;
5353
}
5454

5555
let mut v = UnusedLabelVisitor::new();
56-
walk_fn(&mut v, kind, decl, body, span);
56+
walk_fn(&mut v, kind, decl, body, span, fn_id);
5757

5858
for (label, span) in v.labels {
5959
span_lint(cx, UNUSED_LABEL, span, &format!("unused label `{}`", label));

0 commit comments

Comments
 (0)