diff options
| author | Linus Färnstrand <linus@mullvad.net> | 2024-03-30 23:48:22 +0100 |
|---|---|---|
| committer | Linus Färnstrand <linus@mullvad.net> | 2024-04-02 12:53:10 +0200 |
| commit | b283fdfdd39ae151be0e79e79d62dd5f13e285e8 (patch) | |
| tree | e0efb4a0e4d3902b8eb8a0695993aa1e220f536f /android/lib/map | |
| parent | 03be1ea82c036ac5fec780dcd6d55d19fcf6df0c (diff) | |
| download | mullvadvpn-b283fdfdd39ae151be0e79e79d62dd5f13e285e8.tar.xz mullvadvpn-b283fdfdd39ae151be0e79e79d62dd5f13e285e8.zip | |
Enable more of the Allowed-by-default lints in rustc
* macro_use_extern_crate - Forbid #[macro_use] to bring macros into
global scope. Even using `extern crate` is deprecated by now, so just
extra protection against that
* explicit_outlives_requirements - Warn aginst explicit lifetime bounds
that can be inferred from the code. Keeps noise away.
* absolute_paths_not_starting_with_crate - Catches Rust 2015 style
absolute paths and denies them.
* missing_abi - Force explicitly stating the ABI of `extern` items. Less
implicit code
* unused_lifetimes - Warn if you have lifetimes that are not used. Same
reason as warning against unused variables
* unused_macro_rules - Warn if you have a declarative macro with a rule
that is never used. Basically same reason as warning on unused
variables. Removes dead code
Diffstat (limited to 'android/lib/map')
0 files changed, 0 insertions, 0 deletions
