diff options
| author | GnomedDev <david2005thomas@gmail.com> | 2024-09-18 22:10:05 +0100 |
|---|---|---|
| committer | GnomedDev <david2005thomas@gmail.com> | 2024-09-19 13:13:42 +0100 |
| commit | acb6748f800f2581834bf7abc744d71e9bfc73d9 (patch) | |
| tree | d80941332b2bc107f969193cd568e6619a0a5fbb /clippy_utils/src | |
| parent | 98dc68e85e350a00dd65b76251b598f276d5a7c5 (diff) | |
| download | rust-acb6748f800f2581834bf7abc744d71e9bfc73d9.tar.gz rust-acb6748f800f2581834bf7abc744d71e9bfc73d9.zip | |
[Clippy] Swap `unnecessary_to_owned` to use diagnostic item instead of path
Diffstat (limited to 'clippy_utils/src')
| -rw-r--r-- | clippy_utils/src/paths.rs | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/clippy_utils/src/paths.rs b/clippy_utils/src/paths.rs index 26f680e2666..646c7bc5df8 100644 --- a/clippy_utils/src/paths.rs +++ b/clippy_utils/src/paths.rs @@ -61,7 +61,6 @@ pub const SYMBOL_INTERN: [&str; 4] = ["rustc_span", "symbol", "Symbol", "intern" pub const SYMBOL_TO_IDENT_STRING: [&str; 4] = ["rustc_span", "symbol", "Symbol", "to_ident_string"]; pub const SYM_MODULE: [&str; 3] = ["rustc_span", "symbol", "sym"]; pub const SYNTAX_CONTEXT: [&str; 3] = ["rustc_span", "hygiene", "SyntaxContext"]; -pub const STRING_FROM_UTF8: [&str; 4] = ["alloc", "string", "String", "from_utf8"]; #[expect(clippy::invalid_paths)] // internal lints do not know about all external crates pub const TOKIO_FILE_OPTIONS: [&str; 5] = ["tokio", "fs", "file", "File", "options"]; #[expect(clippy::invalid_paths)] // internal lints do not know about all external crates |
