From 041212f8fbb9f52d41167448e4fbc2ce8cc7ee9a Mon Sep 17 00:00:00 2001 From: Fabian Wolff Date: Sat, 2 Oct 2021 19:15:45 +0200 Subject: Report fatal lexer errors in `--cfg` command line arguments --- compiler/rustc_interface/src/interface.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'compiler/rustc_interface/src/interface.rs') diff --git a/compiler/rustc_interface/src/interface.rs b/compiler/rustc_interface/src/interface.rs index 8393826aa12..3233887169c 100644 --- a/compiler/rustc_interface/src/interface.rs +++ b/compiler/rustc_interface/src/interface.rs @@ -81,7 +81,10 @@ pub fn parse_cfgspecs(cfgspecs: Vec) -> FxHashSet<(String, Option