rust/compiler/rustc_interface/src
Matthias Krüger e820ecdba1
Rollup merge of #99519 - Urgau:check-cfg-implicit, r=petrochenkov
Remove implicit names and values from `--cfg` in `--check-cfg`

This PR remove the implicit names and values from `--cfg` in `--check-cfg` because the behavior is quite surprising but also because it's really easy to inadvertently really on the implicitness and when the `--cfg` is not set anymore to have an unexpected warning from an unexpected condition that pass with the implicitness.

This change in behavior will also enable us to warn when an unexpected `--cfg` is passed, ex: the user wrote `--cfg=unstabl` instead of `--cfg=unstable`. The implementation of the warning will be done in a follow-up PR.

cc `@petrochenkov`
2022-07-31 23:39:38 +02:00
..
callbacks.rs
interface.rs lint: add bad opt access internal lint 2022-07-27 11:24:27 +01:00
lib.rs Fully stabilize NLL 2022-06-03 17:16:41 -04:00
passes.rs session: disable internal lints for rustdoc 2022-07-27 11:24:27 +01:00
proc_macro_decls.rs
queries.rs Rename debugging_opts to unstable_opts 2022-07-13 17:47:06 -05:00
tests.rs proc_macro: use crossbeam channels for the proc_macro cross-thread bridge 2022-07-29 17:38:12 -04:00
util.rs Rollup merge of #99519 - Urgau:check-cfg-implicit, r=petrochenkov 2022-07-31 23:39:38 +02:00