Skip to content

Commit

Permalink
Resolve stable_features warning on proc_macro_raw_ident
Browse files Browse the repository at this point in the history
    warning: the feature `proc_macro_raw_ident` has been stable since 1.47.0 and no longer requires an attribute to enable
      --> src/lib.rs:83:37
       |
    83 | #![cfg_attr(super_unstable, feature(proc_macro_raw_ident, proc_macro_def_site))]
       |                                     ^^^^^^^^^^^^^^^^^^^^
       |
       = note: `#[warn(stable_features)]` on by default
  • Loading branch information
dtolnay committed Sep 30, 2021
1 parent 73a0658 commit fd5aed9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@
// Proc-macro2 types in rustdoc of other crates get linked to here.
#![doc(html_root_url = "https://docs.rs/proc-macro2/1.0.29")]
#![cfg_attr(any(proc_macro_span, super_unstable), feature(proc_macro_span))]
#![cfg_attr(super_unstable, feature(proc_macro_raw_ident, proc_macro_def_site))]
#![cfg_attr(super_unstable, feature(proc_macro_def_site))]
#![cfg_attr(doc_cfg, feature(doc_cfg))]
#![allow(
clippy::cast_lossless,
Expand Down

0 comments on commit fd5aed9

Please sign in to comment.