rust/src/doc
bors 5e7af4669f Auto merge of #67885 - tobithiel:fix_group_lint_allow_override, r=Mark-Simulacrum
rustc_session: allow overriding lint level of individual lints from a group

Fixes #58211 and fixes rust-lang/rust-clippy#4778 and fixes rust-lang/rust-clippy#4091

Instead of hard-coding the lint level preferences (from lowest to highest precedence: `lint::Allow -> lint::Warn -> lint::Deny -> lint::Forbid`), the position of the argument in the command line gets taken into account.

Examples:
1. Passing `-D unused -A unused-variables` denies everything in the lint group `unused` **except** `unused-variables` which is explicitly allowed.
1. Passing `-A unused-variables -D unused` denies everything in the lint group `unused` **including** `unused-variables` since the allow is specified before the deny (and therefore overridden by the deny).

This matches the behavior that is already being used when specifying `allow`/`deny` in the source code.
2020-02-16 15:28:41 +00:00
..
book@6fb3705e52 Update books. 2020-02-13 08:11:09 -08:00
edition-guide@37f9e68484 Update books. 2020-02-13 08:11:09 -08:00
embedded-book@b2e1092bf6 Update books. 2020-02-13 08:11:09 -08:00
man
nomicon@3e6e1001dc Update books 2020-01-06 19:07:18 -08:00
reference@64239df6d1 Update books. 2020-02-13 08:11:09 -08:00
rust-by-example@32facd5522 Update books. 2020-02-13 08:11:09 -08:00
rustc rustc: add lint level cli ordering into the documentation 2020-01-13 20:03:28 -08:00
rustc-guide@5bd60bc51e update rustc-guide 2020-02-03 12:57:39 -06:00
rustdoc Update books. 2020-02-13 08:11:09 -08:00
unstable-book Rollup merge of #68824 - ajpaverd:cfguard-rustbuild, r=Mark-Simulacrum 2020-02-11 16:36:57 +01:00
complement-design-faq.md
complement-lang-faq.md
complement-project-faq.md
favicon.inc
footer.inc
full-toc.inc
grammar.md Remove legacy grammar 2019-09-30 07:46:10 +02:00
guide-crates.md
guide-error-handling.md
guide-ffi.md
guide-macros.md
guide-ownership.md
guide-plugins.md
guide-pointers.md
guide-strings.md
guide-tasks.md
guide-testing.md
guide-unsafe.md
guide.md
index.md
intro.md
not_found.md
redirect.inc
reference.md
robots.txt Install robots.txt into rust-docs tarballs 2020-01-31 08:56:01 -05:00
rust.css
rust.md
rustc-ux-guidelines.md Deprecate using rustc_plugin without the rustc_driver dylib. 2019-08-20 00:21:32 +02:00
rustdoc.md
tutorial.md
version_info.html.template