You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
#[cfg(unknown_option = "...") should produce a warning #39370
There is something we can do. We can update the documentation so it no longer states "Currently, only compiler-defined configuration options can have the latter form."
Activity
durka commentedon Jan 28, 2017
Hmm, that line in the reference is a total lie.
Wilfred commentedon Jan 28, 2017
Ah, sounds like I'm doomed and there's no way to warn on invalid option names. I will close this issue if there's nothing we can do to improve this.
retep998 commentedon Jan 28, 2017
There is something we can do. We can update the documentation so it no longer states "Currently, only compiler-defined configuration options can have the latter form."
durka commentedon Jan 28, 2017
The reference should be fixed or we should add a warning, one or the other.
Rollup merge of rust-lang#39374 - durka:patch-34, r=steveklabnik
Rollup merge of rust-lang#39374 - durka:patch-34, r=steveklabnik