]> git.lizzy.rs Git - rust.git/commit - src/tools/clippy
Rollup merge of #69565 - RalfJung:assert, r=eddyb
authorDylan DPC <dylan.dpc@gmail.com>
Tue, 3 Mar 2020 20:26:10 +0000 (21:26 +0100)
committerGitHub <noreply@github.com>
Tue, 3 Mar 2020 20:26:10 +0000 (21:26 +0100)
commitfab54fc34ebabe2dc648ac3280b668a1d5456eda
treeed78056428bb1e2f79acabfd4a6f88874c272a99
parent3c5b1b7d63f55ac96fc7cd06df01e0f0e4f49d47
parent5982e9d3ca679866a0533d69a41224c333a5348a
Rollup merge of #69565 - RalfJung:assert, r=eddyb

miri engine: turn some debug_assert into assert

@eddyb said to avoid debug assertions in rustc. These checks here look like they are probably not too expensive. Cc @oli-obk
src/librustc_mir/interpret/cast.rs
src/librustc_mir/interpret/operator.rs
src/librustc_mir/interpret/terminator.rs
src/librustc_mir/interpret/validity.rs