diff options
| author | Aleksey Kladov <aleksey.kladov@gmail.com> | 2019-07-09 15:26:18 +0300 |
|---|---|---|
| committer | Aleksey Kladov <aleksey.kladov@gmail.com> | 2019-07-09 15:26:18 +0300 |
| commit | 8175a1f905d1bf8ffd33c1be48476161d30b885e (patch) | |
| tree | 155e4687acd3bf9a4ba65cf921356e39aba782f6 /src/test/ui/thinlto | |
| parent | 88953840ac9fc3e7f90af537b8b4177b76ae0d87 (diff) | |
| download | rust-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
