about summary refs log tree commit diff
path: root/src/rustllvm/ExecutionEngineWrapper.cpp
diff options
context:
space:
mode:
authorManish Goregaokar <manishsmail@gmail.com>2015-03-01 01:19:26 +0530
committerManish Goregaokar <manishsmail@gmail.com>2015-03-01 09:49:48 +0530
commitd9fb9765a13d44f051cae9a9a7d010621b8e42cb (patch)
tree60eb684b69a76bc390d34fcbd0a03b34995cb063 /src/rustllvm/ExecutionEngineWrapper.cpp
parent9dc9fcc7674c527124e3acd41b804bcedb766177 (diff)
parentd11b48c85c1cceb559ab8a08815ba3f7b3312c44 (diff)
downloadrust-d9fb9765a13d44f051cae9a9a7d010621b8e42cb.tar.gz
rust-d9fb9765a13d44f051cae9a9a7d010621b8e42cb.zip
Rollup merge of #22907 - dotdash:static_assert_bool, r=eddyb
 static_assert is documented as working on static with type `bool`, but
we currently accept it on any const static and crash when the const has
an non-integral type.

This is a breaking-change for anyone who used static_assert on types
likes i32, which happened to work but seems like an unintended
consequence of the missing error checking.

[breaking-change]

Fixes #22056
Diffstat (limited to 'src/rustllvm/ExecutionEngineWrapper.cpp')
0 files changed, 0 insertions, 0 deletions