Repository navigation
Move more rustc lint attributes to lint helpers. - #165865
Conversation
|
Some changes occurred to MIR optimizations cc @rust-lang/wg-mir-opt Some changes occurred to the CTFE / Miri interpreter cc @rust-lang/miri, @RalfJung, @oli-obk, @lcnr This PR changes MIR cc @oli-obk, @RalfJung, @JakobDegen, @vakaras Some changes occurred in compiler/rustc_attr_parsing cc @jdonszelmann, @JonathanBrouwer Some changes occurred in compiler/rustc_attr_ir cc @jdonszelmann, @JonathanBrouwer Some changes occurred in compiler/rustc_passes/src/check_attr.rs |
|
r? @oli-obk rustbot has assigned @oli-obk. Use Why was this reviewer chosen?The reviewer was selected based on:
|
| #[derive(Copy, Clone, PartialEq, Eq, Hash, StableHash)] | ||
| #[rustc_pass_by_value] | ||
| #[cfg_attr(bootstrap, rustc_pass_by_value)] | ||
| #[cfg_attr(not(bootstrap), lint::pass_by_value)] |
There was a problem hiding this comment.
Does this also need to be gated by feature = "nightly"?
There was a problem hiding this comment.
Actually no, there is a #[cfg(feature = "nightly")] mod ty;
This comment has been minimized.
This comment has been minimized.
c64ea12 to
e06e6c6
Compare
Move more rustc lint attributes to lint helpers. Part 2 of implementing rust-lang#160808 (For part 1, see rust-lang#163625)
|
💔 I suspect this PR failed tests as part of a rollup After fixing the problem, consider running a try job for the failed job before re-approving. Link to failure: #165878 (comment) |
|
This pull request was unapproved. This PR was contained in a rollup (#165878), which was unapproved. |
|
Soft conflict with #165861 |
e06e6c6 to
2e2b506
Compare
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
2e2b506 to
91dd465
Compare
|
@bors r=oli-obk |
|
📋 This PR cannot be approved because it currently has the following label: |
|
@bors r=oli-obk |
This comment has been minimized.
This comment has been minimized.
a9f97d8 to
64b9ca4
Compare
|
This PR was rebased onto a different main commit. Here's a range-diff highlighting what actually changed. Rebasing is a normal part of keeping PRs up to date, so no action is needed—this note is just to help reviewers. |
This comment has been minimized.
This comment has been minimized.
64b9ca4 to
4c2cfc8
Compare
|
@bors r=oli-obk |
Move more rustc lint attributes to lint helpers. Part 2 of implementing rust-lang#160808 (For part 1, see rust-lang#163625)
Rollup of 5 pull requests Successful merges: - #164537 (Parser: Clean up `parse_expr_dot_or_call_with` & simplify `parse_expr_prefix`) - #165481 (Separate `Primitive::Bool` and make `#[repr($int)]` enums always use the ABI of $int) - #166290 (Require the next-solver for unsafe binders) - #165865 (Move more rustc lint attributes to lint helpers.) - #166221 (Unstably implement `StaticAllocator` on fundamental types)
Rollup of 5 pull requests Successful merges: - rust-lang/rust#164537 (Parser: Clean up `parse_expr_dot_or_call_with` & simplify `parse_expr_prefix`) - rust-lang/rust#165481 (Separate `Primitive::Bool` and make `#[repr($int)]` enums always use the ABI of $int) - rust-lang/rust#166290 (Require the next-solver for unsafe binders) - rust-lang/rust#165865 (Move more rustc lint attributes to lint helpers.) - rust-lang/rust#166221 (Unstably implement `StaticAllocator` on fundamental types)
View all comments
Part 2 of implementing #160808
(For part 1, see #163625)