about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume1.gomez@gmail.com>2022-08-26 14:08:43 +0200
committerGitHub <noreply@github.com>2022-08-26 14:08:43 +0200
commite3148dc7c48e1c96b05c85f57394308a6e46c1ed (patch)
tree919f2245d6ed3c5ac0570e18be950643dee707a0 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parent983f4daddf238d114c4adc4751c5528fc6695a5a (diff)
parentea4e5c27a9fe52d175f6cdf5af4d2079660a5540 (diff)
downloadrust-e3148dc7c48e1c96b05c85f57394308a6e46c1ed.tar.gz
rust-e3148dc7c48e1c96b05c85f57394308a6e46c1ed.zip
Rollup merge of #95005 - ssomers:btree_static_assert, r=thomcc
BTree: evaluate static type-related check at compile time

`assert`s like the ones replaced here would only go off when you run the right test cases, if the code were ever incorrectly changed such that rhey would trigger. But [inspired on a nice forum question](https://users.rust-lang.org/t/compile-time-const-generic-parameter-check/69202), they can be checked at compile time.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions