Update the lint warnings to use the right syntax for `#![warn(...)]`.

Rather than `#[warn(...)]`, update to include a `!`.