rustc_builtin_macros cleanup, part 5 - #163080
Conversation
|
Changes to the code generated for builtin derived traits. cc @nnethercote |
9fea3d2 to
fdea084
Compare
This comment has been minimized.
This comment has been minimized.
fdea084 to
167c4f9
Compare
|
@bors try @rust-timer queue |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
`rustc_builtin_macros` cleanup, part 5
This comment has been minimized.
This comment has been minimized.
|
Finished benchmarking commit (7e9ca0a): comparison URL. Overall result: ❌✅ regressions and improvements - no action neededBenchmarking means the PR may be perf-sensitive. Consider adding rollup=never if this change is not fit for rolling up. @rustbot label: -S-waiting-on-perf -perf-regression 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 2.1%)A less reliable metric. May be of interest, but not used to determine the overall result above.
CyclesThis perf run didn't have relevant results for this metric. Binary sizeThis perf run didn't have relevant results for this metric. Bootstrap: 496.585s -> 495.879s (-0.14%) |
This comment has been minimized.
This comment has been minimized.
167c4f9 to
62a3afa
Compare
62a3afa to
c2328bf
Compare
| .additional_bounds | ||
| .iter() | ||
| .map(|p| cx.trait_bound(p.to_path(cx, span), self.is_const)) | ||
| .map(|p| cx.trait_bound(ast::Path { span, ..p.clone() }, self.is_const)) |
There was a problem hiding this comment.
The diagnostic previously changed because I didn't notice that this span is not the same as self.span, and p was constructed with self.span.
|
@bors r+ Do you have the removal of |
Rollup merge of #163080 - cyrgani:builtin-macros-5, r=nnethercote `rustc_builtin_macros` cleanup, part 5 This PR among other things removes the "mini" version of `Path`, the `nonselflike_args` and most of the usages of `type_ident`. It also comes with some perf gains. Followup to #162925. r? @nnethercote
This PR among other things removes the "mini" version of
Path, thenonselflike_argsand most of the usages oftype_ident. It also comes with some perf gains.Followup to #162925.
r? @nnethercote