about summary refs log tree commit diff
path: root/compiler/rustc_mir_transform/messages.ftl
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-09-10 14:54:09 +0000
committerbors <bors@rust-lang.org>2024-09-10 14:54:09 +0000
commit33855f80d4393bff5d1226eabf8e61f348179cee (patch)
tree2a74a1a532ce22bdcb5a6587fc6581085e2e46eb /compiler/rustc_mir_transform/messages.ftl
parentf827364a95b93ab70afd0383fcf3caa9da40e1fb (diff)
parent0f9cb070bc312df3c9cadd358efaa1d1efe4a9d0 (diff)
downloadrust-33855f80d4393bff5d1226eabf8e61f348179cee.tar.gz
rust-33855f80d4393bff5d1226eabf8e61f348179cee.zip
Auto merge of #130025 - Urgau:missing_docs-expect, r=petrochenkov
Also emit `missing_docs` lint with `--test` to fulfil expectations

This PR removes the "test harness" suppression of the `missing_docs` lint to be able to fulfil `#[expect]` (expectations) as it is now "relevant".

I think the goal was to maybe avoid false-positive while linting on public items under `#[cfg(test)]` but with effective visibility we should no longer have any false-positive.

Another possibility would be to query the lint level and only emit the lint if it's of expect level, but that is even more hacky.

Fixes https://github.com/rust-lang/rust/issues/130021

try-job: x86_64-gnu-aux
Diffstat (limited to 'compiler/rustc_mir_transform/messages.ftl')
0 files changed, 0 insertions, 0 deletions