Repository navigation
Introduce ModernIdent type to unify macro 2.0 hygiene handling - #144439
Conversation
|
HIR ty lowering was modified cc @fmease |
|
What problem is this intended to solve? |
|
In general, I have mixed feelings about both this and |
xizheyin
left a comment
There was a problem hiding this comment.
In this version, I removed some unnecessary uses.
The modifications are mainly centered around two fields.
- BindingKey::ident
- Resolver::extern_prelude
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
commented
Aug 4, 2025
|
I rebased it @rustbot ready |
Signed-off-by: xizheyin <xizheyin@smail.nju.edu.cn>
left a comment
There was a problem hiding this comment.
It's getting clearer.
@rustbot ready
commented
Aug 6, 2025
|
@bors r+ |
commented
Aug 6, 2025
commented
Aug 8, 2025
|
@rust-timer build b5d3bba |
This comment has been minimized.
This comment has been minimized.
commented
Aug 8, 2025
|
Finished benchmarking commit (b5d3bba): 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 (secondary 0.0%)A less reliable metric. May be of interest, but not used to determine the overall result above.
CyclesResults (primary 2.1%, secondary -1.7%)A less reliable metric. May be of interest, but not used to determine the overall result above.
Binary sizeThis benchmark run did not return any relevant results for this metric. Bootstrap: 465.283s -> 464.187s (-0.24%) |
This pr introduce ModernIdent type to unify macro 2.0 hygiene handling
normalize_to_macros_2_0()r? @petrochenkov