Post-attribute ports cleanup pt. 1#154808
Post-attribute ports cleanup pt. 1#154808JonathanBrouwer wants to merge 8 commits intorust-lang:mainfrom
Conversation
|
Some changes occurred in compiler/rustc_attr_parsing Some changes occurred in compiler/rustc_passes/src/check_attr.rs |
|
Let's gooo!!!! |
|
Just in case, not expecting any impact |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Post-attribute ports cleanup pt. 1
|
Try build cancelled. Cancelled workflows: |
This comment has been minimized.
This comment has been minimized.
Post-attribute ports cleanup pt. 1
This comment has been minimized.
This comment has been minimized.
|
Finished benchmarking commit (80c2a26): comparison URL. Overall result: ❌✅ regressions and improvements - no action neededBenchmarking this pull request means it may be perf-sensitive – we'll automatically label it not fit for rolling up. You can override this, but we strongly advise not to, due to possible changes in compiler perf. @bors rollup=never Instruction countOur most reliable metric. Used to determine the overall result above. However, even this metric can be noisy.
Max RSS (memory usage)Results (primary 1.3%, secondary 0.5%)A less reliable metric. May be of interest, but not used to determine the overall result above.
CyclesResults (secondary 1.2%)A less reliable metric. May be of interest, but not used to determine the overall result above.
Binary sizeResults (primary -0.1%, secondary -0.1%)A less reliable metric. May be of interest, but not used to determine the overall result above.
Bootstrap: 489.285s -> 487.19s (-0.43%) |
|
That's just noise :) |
compiler/rustc_expand/src/module.rs
Outdated
| // `TyCtxt::check_mod_attrs`), but by the time that runs the macro | ||
| // is expanded, and it doesn't give an error. | ||
| validate_attr::emit_fatal_malformed_builtin_attribute(&sess.psess, first_path, sym::path); | ||
| emit_malformed_attribute(&sess.psess, first_path.style, first_path.span, sym::path, template!( |
There was a problem hiding this comment.
this should maybe also be a parsed attribute 🤔
There was a problem hiding this comment.
Agreed, I tried to make it one but then discovered #154781, so it is blocked on that
|
Reminder, once the PR becomes ready for a review, use |
bd51105 to
d23c724
Compare
|
@rustbot ready |
d23c724 to
6927e64
Compare
|
@bors r+ |
|
@bors rollup |
…onszelmann Post-attribute ports cleanup pt. 1 r? @jdonszelmann This cleans up some checks I could find were for non-parsed attributes, and works towards removing BUILTIN_ATTRIBUTES All commits do one thing and every commit passes tests, so best reviewed commit by commit
…onszelmann Post-attribute ports cleanup pt. 1 r? @jdonszelmann This cleans up some checks I could find were for non-parsed attributes, and works towards removing BUILTIN_ATTRIBUTES All commits do one thing and every commit passes tests, so best reviewed commit by commit
…uwer Rollup of 8 pull requests Successful merges: - #153440 (Various LTO cleanups) - #154561 (Suggest similar keyword when visibility is not followed by an item) - #154657 (Fix pattern assignment suggestions for uninitialized bindings) - #154717 (Fix ICE in unsafe binder discriminant helpers) - #154722 (fix(lints): Improve `ill_formed_attribute_input` with better help message) - #154808 (Post-attribute ports cleanup pt. 1) - #154849 (Promote `char::is_case_ignorable` from perma-unstable to unstable) - #154850 (ast_validation: scalable vectors okay for rustdoc)
…uwer Rollup of 8 pull requests Successful merges: - #153440 (Various LTO cleanups) - #154561 (Suggest similar keyword when visibility is not followed by an item) - #154657 (Fix pattern assignment suggestions for uninitialized bindings) - #154717 (Fix ICE in unsafe binder discriminant helpers) - #154722 (fix(lints): Improve `ill_formed_attribute_input` with better help message) - #154808 (Post-attribute ports cleanup pt. 1) - #154849 (Promote `char::is_case_ignorable` from perma-unstable to unstable) - #154850 (ast_validation: scalable vectors okay for rustdoc)
…uwer Rollup of 8 pull requests Successful merges: - #153440 (Various LTO cleanups) - #154561 (Suggest similar keyword when visibility is not followed by an item) - #154657 (Fix pattern assignment suggestions for uninitialized bindings) - #154717 (Fix ICE in unsafe binder discriminant helpers) - #154722 (fix(lints): Improve `ill_formed_attribute_input` with better help message) - #154808 (Post-attribute ports cleanup pt. 1) - #154849 (Promote `char::is_case_ignorable` from perma-unstable to unstable) - #154850 (ast_validation: scalable vectors okay for rustdoc)
|
@bors try jobs=i686-msvc-2 |
|
⌛ Trying commit 6927e64 with merge e5ceaf0… To cancel the try build, run the command Workflow: https://github.com/rust-lang/rust/actions/runs/24018143988 |
Post-attribute ports cleanup pt. 1 try-job: i686-msvc-2
|
@bors r- |
[NO MERGE] Debug PR for #154808 try-job: i686-mscv-2
[NO MERGE] Debug PR for #154808 try-job: i686-msvc-2
[NO MERGE] Debug PR for #154808 try-job: i686-msvc-2
|
💥 Test timed out after |
View all comments
r? @jdonszelmann
This cleans up some checks I could find were for non-parsed attributes, and works towards removing BUILTIN_ATTRIBUTES
All commits do one thing and every commit passes tests, so best reviewed commit by commit