diff options
| author | Zalathar <Zalathar@users.noreply.github.com> | 2024-11-23 16:11:02 +1100 |
|---|---|---|
| committer | Zalathar <Zalathar@users.noreply.github.com> | 2024-11-24 11:35:32 +1100 |
| commit | 7d2d11b59588e5e75c666b3d2ce6187cbfa6ac7e (patch) | |
| tree | 590c41cb8b03d9cbc2b65e487d537be5786c6c39 | |
| parent | e6f1ca6752be0816de32747696bce429f5647868 (diff) | |
| download | rust-7d2d11b59588e5e75c666b3d2ce6187cbfa6ac7e.tar.gz rust-7d2d11b59588e5e75c666b3d2ce6187cbfa6ac7e.zip | |
Sort and separate lint/feature attributes in `profiler_builtins`
| -rw-r--r-- | library/profiler_builtins/src/lib.rs | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/library/profiler_builtins/src/lib.rs b/library/profiler_builtins/src/lib.rs index ac685b18c29..b868cdde405 100644 --- a/library/profiler_builtins/src/lib.rs +++ b/library/profiler_builtins/src/lib.rs @@ -1,11 +1,15 @@ -#![no_std] +// tidy-alphabetical-start +#![allow(internal_features)] +#![allow(unused_features)] #![feature(profiler_runtime)] +#![feature(staged_api)] +// tidy-alphabetical-end + +// Other attributes: +#![no_std] #![profiler_runtime] #![unstable( feature = "profiler_runtime_lib", reason = "internal implementation detail of rustc right now", issue = "none" )] -#![allow(unused_features)] -#![allow(internal_features)] -#![feature(staged_api)] |
