remove IsTypeConst from hir::TraitItemKind#157330
Conversation
|
|
| // FIXME(mgca) eventually want to move the option that is around `ConstItemRhs<'hir>` | ||
| // into `ConstItemRhs`, much like `ast::ConstItemRhsKind`, but for now mark whether | ||
| // this node is a TypeConst with a flag. | ||
| // into `ConstItemRhs`, much like `ast::ConstItemRhsKind` |
There was a problem hiding this comment.
I think resolving the FIXME deserves it's own issue, would like to give it a try if there's an appetite for it
There was a problem hiding this comment.
I expect we probably actually have no reason to do this FIXME anymore now that we can get type-constness from the defid
There was a problem hiding this comment.
should we remove this FIXME all together then?
This comment has been minimized.
This comment has been minimized.
|
The Clippy subtree was changed cc @rust-lang/clippy The Miri subtree was changed cc @rust-lang/miri |
There was a problem hiding this comment.
Did you accidentally re-format this file...?
Please avoid format-only changes.
|
can you put @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.
remove `IsTypeConst` from `hir::TraitItemKind`
This comment has been minimized.
This comment has been minimized.
|
Finished benchmarking commit (de700f1): comparison URL. Overall result: no relevant changes - 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 countThis perf run didn't have relevant results for this metric. 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.
CyclesResults (secondary 3.4%)A less reliable metric. May be of interest, but not used to determine the overall result above.
Binary sizeThis perf run didn't have relevant results for this metric. Bootstrap: 516.093s -> 515.618s (-0.09%) |
updated |
Fixes #152940
following up on #152940 (comment)
r? @BoxyUwU