Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Commit edb720b

Browse files
committed
Auto merge of rust-lang#11823 - flip1995:rustup, r=flip1995
Rustup r? `@ghost` changelog: none
2 parents 406d953 + 6f952fb commit edb720b

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

82 files changed

+102
-117
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "clippy"
3-
version = "0.1.75"
3+
version = "0.1.76"
44
description = "A bunch of helpful lints to avoid common pitfalls in Rust"
55
repository = "https://github.com/rust-lang/rust-clippy"
66
readme = "README.md"

clippy_config/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "clippy_config"
3-
version = "0.1.75"
3+
version = "0.1.76"
44
edition = "2021"
55

66
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

clippy_lints/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "clippy_lints"
3-
version = "0.1.75"
3+
version = "0.1.76"
44
description = "A bunch of helpful lints to avoid common pitfalls in Rust"
55
repository = "https://github.com/rust-lang/rust-clippy"
66
readme = "README.md"

clippy_lints/src/attrs.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,8 @@ use rustc_lint::{EarlyContext, EarlyLintPass, LateContext, LateLintPass, Level,
1818
use rustc_middle::lint::in_external_macro;
1919
use rustc_middle::ty;
2020
use rustc_session::{declare_lint_pass, declare_tool_lint, impl_lint_pass};
21-
use rustc_span::source_map::Span;
2221
use rustc_span::symbol::Symbol;
23-
use rustc_span::{sym, DUMMY_SP};
22+
use rustc_span::{sym, Span, DUMMY_SP};
2423
use semver::Version;
2524

2625
static UNIX_SYSTEMS: &[&str] = &[

clippy_lints/src/booleans.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,7 @@ use rustc_hir::{BinOpKind, Body, Expr, ExprKind, FnDecl, UnOp};
99
use rustc_lint::{LateContext, LateLintPass, Level};
1010
use rustc_session::{declare_lint_pass, declare_tool_lint};
1111
use rustc_span::def_id::LocalDefId;
12-
use rustc_span::source_map::Span;
13-
use rustc_span::sym;
12+
use rustc_span::{sym, Span};
1413

1514
declare_clippy_lint! {
1615
/// ### What it does

clippy_lints/src/cargo/common_metadata.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
use cargo_metadata::Metadata;
44
use clippy_utils::diagnostics::span_lint;
55
use rustc_lint::LateContext;
6-
use rustc_span::source_map::DUMMY_SP;
6+
use rustc_span::DUMMY_SP;
77

88
use super::CARGO_COMMON_METADATA;
99

clippy_lints/src/cargo/feature_name.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
use cargo_metadata::Metadata;
22
use clippy_utils::diagnostics::span_lint_and_help;
33
use rustc_lint::LateContext;
4-
use rustc_span::source_map::DUMMY_SP;
4+
use rustc_span::DUMMY_SP;
55

66
use super::{NEGATIVE_FEATURE_NAMES, REDUNDANT_FEATURE_NAMES};
77

clippy_lints/src/cargo/multiple_crate_versions.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ use clippy_utils::diagnostics::span_lint;
55
use itertools::Itertools;
66
use rustc_hir::def_id::LOCAL_CRATE;
77
use rustc_lint::LateContext;
8-
use rustc_span::source_map::DUMMY_SP;
8+
use rustc_span::DUMMY_SP;
99

1010
use super::MULTIPLE_CRATE_VERSIONS;
1111

clippy_lints/src/cargo/wildcard_dependencies.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
use cargo_metadata::Metadata;
22
use clippy_utils::diagnostics::span_lint;
33
use rustc_lint::LateContext;
4-
use rustc_span::source_map::DUMMY_SP;
4+
use rustc_span::DUMMY_SP;
55

66
use super::WILDCARD_DEPENDENCIES;
77

clippy_lints/src/cognitive_complexity.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,7 @@ use rustc_hir::{Body, Expr, ExprKind, FnDecl};
1212
use rustc_lint::{LateContext, LateLintPass, LintContext};
1313
use rustc_session::{declare_tool_lint, impl_lint_pass};
1414
use rustc_span::def_id::LocalDefId;
15-
use rustc_span::source_map::Span;
16-
use rustc_span::{sym, BytePos};
15+
use rustc_span::{sym, BytePos, Span};
1716

1817
declare_clippy_lint! {
1918
/// ### What it does

0 commit comments

Comments
 (0)