about summary refs log tree commit diff
path: root/src/test/ui/thinlto
diff options
context:
space:
mode:
authorAleksey Kladov <aleksey.kladov@gmail.com>2019-07-09 15:26:18 +0300
committerAleksey Kladov <aleksey.kladov@gmail.com>2019-07-09 15:26:18 +0300
commit8175a1f905d1bf8ffd33c1be48476161d30b885e (patch)
tree155e4687acd3bf9a4ba65cf921356e39aba782f6 /src/test/ui/thinlto
parent88953840ac9fc3e7f90af537b8b4177b76ae0d87 (diff)
downloadrust-8175a1f905d1bf8ffd33c1be48476161d30b885e.tar.gz
rust-8175a1f905d1bf8ffd33c1be48476161d30b885e.zip
clarify that debug_assert does not completely omits the code
TIL that debug_assert is implemented using `if cfg!(debug_assertions)`
rather than `#[cfg(debug_assertions)]`. This means one can not use API
gated with `#[cfg(debug_assertions)]` in `debug_assert` family of
macros.
Diffstat (limited to 'src/test/ui/thinlto')
0 files changed, 0 insertions, 0 deletions