New lint: unbuffered_bytes

This commit is contained in:
jonathan 2025-01-27 21:50:22 +01:00 committed by Jonathan Brouwer
parent 32aef114c6
commit 8b6de49ef7
No known key found for this signature in database
GPG key ID: F13E55D38C971DEF
9 changed files with 143 additions and 6 deletions

View file

@ -29,6 +29,7 @@ pub const SYNTAX_CONTEXT: [&str; 3] = ["rustc_span", "hygiene", "SyntaxContext"]
// Paths in `core`/`alloc`/`std`. This should be avoided and cleaned up by adding diagnostic items.
pub const ABORT: [&str; 3] = ["std", "process", "abort"];
pub const BUF_READ: [&str; 3] = ["std", "io", "BufRead"];
pub const CHILD: [&str; 3] = ["std", "process", "Child"];
pub const CHILD_ID: [&str; 4] = ["std", "process", "Child", "id"];
pub const CHILD_KILL: [&str; 4] = ["std", "process", "Child", "kill"];