Wrong error message on #[cfg(program_type)]
argument when the argument value is not specified
#6981
Labels
bug
Something isn't working
compiler: frontend
Everything to do with type checking, control flow analysis, and everything between parsing and IRgen
compiler
General compiler. Should eventually become more specific as the issue is triaged
team:compiler
Compiler Team
If the
program_type
argument of thecfg
attribute does not have a value specified, the error message wrongly states that it excepts a value for the target argument.E.g.:
The text was updated successfully, but these errors were encountered: