]> git.lizzy.rs Git - rust.git/commit
restructure unary_op to also dispatch on type first; fix promotion with unary '-...
authorRalf Jung <post@ralfj.de>
Sun, 26 Aug 2018 13:13:01 +0000 (15:13 +0200)
committerRalf Jung <post@ralfj.de>
Tue, 28 Aug 2018 17:57:05 +0000 (19:57 +0200)
commite6a5a9418a35b4bfb9681123838fce58130bfd1f
tree18678f7cdba75a44fb55e7535d2068d7dcc5dfb4
parent066d2eea250c9010358392c93ef40f36cbb9930b
restructure unary_op to also dispatch on type first; fix promotion with unary '-' overflowing
src/librustc_mir/interpret/operator.rs
src/test/run-pass/ctfe/promotion.rs