rust/library/alloc/src
bors 33855f80d4 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
2024-09-10 14:54:09 +00:00
..
alloc Reformat use declarations. 2024-07-29 08:26:52 +10:00
boxed Reformat use declarations. 2024-07-29 08:26:52 +10:00
collections Remove needless returns detected by clippy in libraries 2024-09-08 21:51:00 +02:00
ffi Reformat use declarations. 2024-07-29 08:26:52 +10:00
raw_vec Polymorphize RawVec 2024-08-09 20:06:26 -04:00
rc Reformat use declarations. 2024-07-29 08:26:52 +10:00
slice Reformat use declarations. 2024-07-29 08:26:52 +10:00
sync Reformat use declarations. 2024-07-29 08:26:52 +10:00
testing Reformat use declarations. 2024-07-29 08:26:52 +10:00
vec Remove needless returns detected by clippy in libraries 2024-09-08 21:51:00 +02:00
alloc.rs apply #[optimize(size)] to #[cold] ones and part of the panick machinery 2024-08-14 20:50:04 +02:00
borrow.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00
boxed.rs replace placeholder version 2024-09-03 20:54:02 +01:00
fmt.rs std::fmt::FormatterFn -> std::fmt::FromFn 2024-08-12 18:33:30 +01:00
lib.miri.rs add 'x.py miri', and make it work for 'library/{core,alloc,std}' 2024-04-03 20:27:20 +02:00
lib.rs Auto merge of #129063 - the8472:cold-opt-size, r=Amanieu 2024-09-02 00:58:50 +00:00
macros.rs Mark format! with must_use hint 2024-07-06 14:24:20 +02:00
raw_vec.rs apply #[optimize(size)] to #[cold] ones and part of the panick machinery 2024-08-14 20:50:04 +02:00
rc.rs replace placeholder version 2024-09-03 20:54:02 +01:00
slice.rs Add missing #[allow(missing_docs)] on hack functions in alloc 2024-09-09 13:44:09 +02:00
str.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00
string.rs Add missing #[allow(missing_docs)] on hack functions in alloc 2024-09-09 13:44:09 +02:00
sync.rs replace placeholder version 2024-09-03 20:54:02 +01:00
task.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00
tests.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00