Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove error-pattern comments #8999

Merged
merged 1 commit into from
Jun 14, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions clippy_lints/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// error-pattern:cargo-clippy

#![feature(array_windows)]
#![feature(binary_heap_into_iter_sorted)]
#![feature(box_patterns)]
Expand Down
2 changes: 0 additions & 2 deletions tests/ui-toml/bad_toml/conf_bad_toml.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
// error-pattern: error reading Clippy's configuration file

fn main() {}
3 changes: 0 additions & 3 deletions tests/ui-toml/bad_toml_type/conf_bad_type.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
// error-pattern: error reading Clippy's configuration file: `blacklisted-names` is expected to be a
// `Vec < String >` but is a `integer`

fn main() {}
3 changes: 0 additions & 3 deletions tests/ui-toml/conf_deprecated_key/conf_deprecated_key.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
// error-pattern: error reading Clippy's configuration file: found deprecated field
// `cyclomatic-complexity-threshold`. Please use `cognitive-complexity-threshold` instead.

fn main() {}
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
// error-pattern: should give absolutely no error

fn main() {}
2 changes: 0 additions & 2 deletions tests/ui-toml/toml_unknown_key/conf_unknown_key.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
// error-pattern: error reading Clippy's configuration file: unknown key `foobar`

fn main() {}