Skip to content

Commit

Permalink
Suppress buggy non_upper_case_globals warning
Browse files Browse the repository at this point in the history
  • Loading branch information
dtolnay committed Apr 20, 2023
1 parent e14ef54 commit 6ccc53c
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions tests/debug/mod.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#![allow(non_upper_case_globals)] // rustc bug: https://github.com/rust-lang/rust/issues/110573
#![allow(
clippy::needless_pass_by_value,
clippy::similar_names,
Expand Down
1 change: 1 addition & 0 deletions tests/test_displaydoc.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
// This test implements a Display derive resembling the displaydoc crate:
// https://github.com/yaahc/displaydoc

#![allow(non_upper_case_globals)] // rustc bug: https://github.com/rust-lang/rust/issues/110573
#![allow(
clippy::if_not_else,
clippy::needless_pass_by_value,
Expand Down
1 change: 1 addition & 0 deletions tests/test_field_access.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#![allow(non_upper_case_globals)] // rustc bug: https://github.com/rust-lang/rust/issues/110573
#![allow(clippy::wildcard_imports)]

use quote::quote;
Expand Down
1 change: 1 addition & 0 deletions tests/test_generics.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#![allow(non_upper_case_globals)] // rustc bug: https://github.com/rust-lang/rust/issues/110573
#![allow(clippy::wildcard_imports)]

use quote::quote;
Expand Down
1 change: 1 addition & 0 deletions tests/test_parse_trait_objects.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#![allow(non_upper_case_globals)] // rustc bug: https://github.com/rust-lang/rust/issues/110573
#![allow(clippy::wildcard_imports)]

use reflect::*;
Expand Down
1 change: 1 addition & 0 deletions tests/test_tuple.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#![allow(non_upper_case_globals)] // rustc bug: https://github.com/rust-lang/rust/issues/110573
#![allow(clippy::wildcard_imports)]

use quote::quote;
Expand Down
1 change: 1 addition & 0 deletions tests/test_zero_args.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#![allow(non_upper_case_globals)] // rustc bug: https://github.com/rust-lang/rust/issues/110573
#![allow(clippy::wildcard_imports)]

use quote::quote;
Expand Down

0 comments on commit 6ccc53c

Please sign in to comment.