I tried this code:
thread_local! {
static LOCAL: String = String::new();
}
fn main() {}
I expected to see this happen: rust outputs warning for unused static LOCAL.
Instead, this happened: no warning
Meta
Rust version: current stable (1.69.0), beta, and nightly
I tried this code:
I expected to see this happen: rust outputs warning for unused static
LOCAL.Instead, this happened: no warning
Meta
Rust version: current stable (1.69.0), beta, and nightly