about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
diff options
context:
space:
mode:
authorDylan DPC <99973273+Dylan-DPC@users.noreply.github.com>2022-07-07 18:06:50 +0530
committerGitHub <noreply@github.com>2022-07-07 18:06:50 +0530
commit4f9933afbd2f238b16fdfe7a7a07cb52554edfea (patch)
tree7307b21327473811195f50b18be4f42f43a11643 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parent5483a7dd44a91e190ba8eb1361879ac3936cc415 (diff)
parent0d443d17eb17450da66a76c015933f30734e99d8 (diff)
downloadrust-4f9933afbd2f238b16fdfe7a7a07cb52554edfea.tar.gz
rust-4f9933afbd2f238b16fdfe7a7a07cb52554edfea.zip
Rollup merge of #98507 - xFrednet:rfc-2383-manual-expectation-magic, r=wesleywiser
Finishing touches for `#[expect]` (RFC 2383)

This PR adds documentation and some functionality to rustc's lint passes, to manually fulfill expectations. This is needed for some lints in Clippy. Hopefully, it should be one of the last things before we can move forward with stabilizing this feature.

As part of this PR, I've also updated `clippy::duplicate_mod` to showcase how this new functionality can be used and to ensure that it works correctly.

---

changelog: [`duplicate_mod`]: Fixed lint attribute interaction

r? `@wesleywiser`

cc: https://github.com/rust-lang/rust/issues/97660, https://github.com/rust-lang/rust/issues/85549

And I guess that's it. Here have a magical unicorn :unicorn:
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions