Skip to content

Commit

Permalink
Remove non_ascii_idents feature gate from test suite
Browse files Browse the repository at this point in the history
    error: the feature `non_ascii_idents` has been stable since 1.53.0 and no longer requires an attribute to enable
     --> test_suite/tests/test_gen.rs:6:43
      |
    6 | #![cfg_attr(feature = "unstable", feature(non_ascii_idents))]
      |                                           ^^^^^^^^^^^^^^^^
      |
    note: the lint level is defined here
     --> test_suite/tests/test_gen.rs:5:9
      |
    5 | #![deny(warnings)]
      |         ^^^^^^^^
      = note: `#[deny(stable_features)]` implied by `#[deny(warnings)]`
  • Loading branch information
dtolnay committed Apr 20, 2021
1 parent c17c4ee commit 2ebc771
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions test_suite/tests/test_gen.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
// types involved.

#![deny(warnings)]
#![cfg_attr(feature = "unstable", feature(non_ascii_idents))]
#![allow(
unknown_lints,
mixed_script_confusables,
Expand Down Expand Up @@ -267,7 +266,6 @@ fn test_gen() {
}
assert::<EmptyEnumVariant>();

#[cfg(feature = "unstable")]
#[derive(Serialize, Deserialize)]
struct NonAsciiIdents {
σ: f64,
Expand Down

0 comments on commit 2ebc771

Please sign in to comment.