diff options
| author | Phlosioneer <mattmdrr2@gmail.com> | 2018-03-06 00:01:30 -0500 |
|---|---|---|
| committer | Phlosioneer <mattmdrr2@gmail.com> | 2018-03-06 00:01:30 -0500 |
| commit | c97c7bfcf377a37f400f1e1a3e25ace2eba85316 (patch) | |
| tree | 4906706133df5070af545a8a1bf443a6f7102790 /src/rustllvm/PassWrapper.cpp | |
| parent | c9334404f06a188854af33835a0efe1e834e4ac4 (diff) | |
| download | rust-c97c7bfcf377a37f400f1e1a3e25ace2eba85316.tar.gz rust-c97c7bfcf377a37f400f1e1a3e25ace2eba85316.zip | |
Add info message for -Wall command
Users coming from other languages (namely C and C++) often expect to use a -Wall flag. Rustc doesn't support that, and previously it simply printed that it didn't recognize the "all" lint. This change makes rustc print out a help message, explaining: - Why there is no -Wall flag - How to view all the available warnings - Point out that the most commonly used warning is -Wunused - Instead of using a command-line flag, the user should consider a !#[warn(unused)] directive in the root of their crate.
Diffstat (limited to 'src/rustllvm/PassWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
