Fix author lint and move it back to tests/ui

The author lint is not an internal lint, and should also be enabled, when Clippy
is distributed through rustup. This moves the author lint test cases back to
tests/ui.
This commit is contained in:
Philipp Krones 2024-11-07 17:12:42 +01:00
parent b816d4ee4f
commit 03daf7ccb2
No known key found for this signature in database
GPG Key ID: 1CA0DF2AF59D68A5
22 changed files with 0 additions and 2 deletions

View File

@ -1,5 +1,3 @@
#![warn(clippy::author)]
fn main() { fn main() {
#[clippy::author] #[clippy::author]
let x: char = 0x45 as char; let x: char = 0x45 as char;