about summary refs log tree commit diff
path: root/tests/rustdoc/source-code-pages/html-no-source.rs
diff options
context:
space:
mode:
authorAlex Macleod <alex@macleod.io>2025-04-13 20:54:58 +0000
committerGitHub <noreply@github.com>2025-04-13 20:54:58 +0000
commit69ade776fa8a05371c0921124c5a4bcba343b3e1 (patch)
tree83e420e06081da5b62462ae45c219f420cf20ed5 /tests/rustdoc/source-code-pages/html-no-source.rs
parentb90c80a766439ba12a74c5e6c6786b8d9c7e5e62 (diff)
parent327da45aee7a973d0f14c59e7ed30511abda86e5 (diff)
downloadrust-69ade776fa8a05371c0921124c5a4bcba343b3e1.tar.gz
rust-69ade776fa8a05371c0921124c5a4bcba343b3e1.zip
Fulfill the lint expectation even if allowed at the type level (#14604)
`clippy::len_without_is_empty` can be allowed at the type declaration
site, and this will prevent the lint from triggering even though the
lint is shown on the `len()` method definition.

This allows the lint to be expected even though it is allowed at the
type declaration site.

changelog: [`len_without_is_empty`]: the lint can now be `#[expect]`ed
on the `len()` method even when it is `#[allow]`ed on the definining
type.

Fixes rust-lang/rust-clippy#14597
Diffstat (limited to 'tests/rustdoc/source-code-pages/html-no-source.rs')
0 files changed, 0 insertions, 0 deletions