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 |
[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 |
[NO MERGE] Debug PR for #154808 try-job: i686-msvc-2
[NO MERGE] Debug2 PR for #154808#154873 try-job: i686-msvc-2
[NO MERGE] Debug PR for #154808 try-job: i686-msvc-2
6927e64 to
89db636
Compare
|
^ Figured out which commit is the problematic one and removed it, didn't figure out why it is problematic yet |
This comment has been minimized.
This comment has been minimized.
Post-attribute ports cleanup pt. 1 try-job: i686-msvc-2
|
@bors r=jdonszelmann |
…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
…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
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