Skip to content

Commit 32a86c0

Browse files
committed
Auto merge of rust-lang#8999 - Alexendoo:error-pattern, r=xFrednet
Remove error-pattern comments The `clippy_lints` one [is unused](https://rust-lang.zulipchat.com/#narrow/stream/257328-clippy/topic/.60error-pattern.60), the others in `ui-toml` also appear not to have an effect changelog: none
2 parents 5a45805 + 08cfb8d commit 32a86c0

File tree

6 files changed

+0
-14
lines changed

6 files changed

+0
-14
lines changed

clippy_lints/src/lib.rs

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
// error-pattern:cargo-clippy
2-
31
#![feature(array_windows)]
42
#![feature(binary_heap_into_iter_sorted)]
53
#![feature(box_patterns)]
-2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1 @@
1-
// error-pattern: error reading Clippy's configuration file
2-
31
fn main() {}
Original file line numberDiff line numberDiff line change
@@ -1,4 +1 @@
1-
// error-pattern: error reading Clippy's configuration file: `blacklisted-names` is expected to be a
2-
// `Vec < String >` but is a `integer`
3-
41
fn main() {}
Original file line numberDiff line numberDiff line change
@@ -1,4 +1 @@
1-
// error-pattern: error reading Clippy's configuration file: found deprecated field
2-
// `cyclomatic-complexity-threshold`. Please use `cognitive-complexity-threshold` instead.
3-
41
fn main() {}
Original file line numberDiff line numberDiff line change
@@ -1,3 +1 @@
1-
// error-pattern: should give absolutely no error
2-
31
fn main() {}
Original file line numberDiff line numberDiff line change
@@ -1,3 +1 @@
1-
// error-pattern: error reading Clippy's configuration file: unknown key `foobar`
2-
31
fn main() {}

0 commit comments

Comments
 (0)