about summary refs log tree commit diff
path: root/library/std/src/sys/unix/stack_overflow.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2022-12-06 18:43:28 +0000
committerbors <bors@rust-lang.org>2022-12-06 18:43:28 +0000
commit5d7074625160b7c1779c2a002b820dd2bc3a771b (patch)
treeac94cacd4338a6229c2f7fe79bfbb8938d84b6b8 /library/std/src/sys/unix/stack_overflow.rs
parent8a0bf70eeec8724034df39133a1960b4ac42169f (diff)
parenteec5039f09bc7992fbacaf0778adf85dcad54997 (diff)
downloadrust-5d7074625160b7c1779c2a002b820dd2bc3a771b.tar.gz
rust-5d7074625160b7c1779c2a002b820dd2bc3a771b.zip
Auto merge of #9920 - naosense:suppress_lint_in_const, r=xFrednet
add `suppress_restriction_lint_in_const` config

According to #9808 , add a new lint `suppress_lint_in_const` to report even in const context. BTW, i am not good at naming either, if anyone have a better idea, i am happy to change it.

This PR is still in progress, so i keep it draft.

- \[x] Followed [lint naming conventions][lint_naming]
- \[x] Added passing UI tests (including committed `.stderr` file)
- \[x] `cargo test` passes locally
- \[x] Executed `cargo dev update_lints`
- \[x] Added lint documentation
- \[x] Run `cargo dev fmt`

changelog: Enhancement: [`indexing_slicing`]: add new config `suppress-restriction-lint-in-const` to enable restriction lints, even if the suggestion might not be applicable

r? `@xFrendet`
Diffstat (limited to 'library/std/src/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions