Skip to content

Conversation

@alexcrichton
Copy link
Member

Turns out that even if the default is "enabled", that doesn't mean that the
CFG_ENABLE_DEBUG variable will be defined. Instead, test whether
CFG_DISABLE_DEBUG is defined and disable debug things if that's the case.

@alexcrichton
Copy link
Member Author

This would close #8181

Turns out that even if the default is "enabled", that doesn't mean that the
CFG_ENABLE_DEBUG variable will be defined. Instead, test whether
CFG_DISABLE_DEBUG is defined and disable debug things if that's the case.
bors added a commit that referenced this pull request Sep 23, 2013
Turns out that even if the default is "enabled", that doesn't mean that the
CFG_ENABLE_DEBUG variable will be defined. Instead, test whether
CFG_DISABLE_DEBUG is defined and disable debug things if that's the case.
@bors bors closed this Sep 23, 2013
@bors bors merged commit 0442764 into rust-lang:master Sep 23, 2013
Jarcho pushed a commit to Jarcho/rust that referenced this pull request Aug 31, 2022
…ns, r=Alexendoo

remove parenthesis from `unnecessary_cast` suggestion

This fixes rust-lang#9380.

---

changelog: none
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants