diff options
| author | bors <bors@rust-lang.org> | 2016-04-27 04:00:16 -0700 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2016-04-27 04:00:16 -0700 |
| commit | b52d76a08528273b218f168753ed846ecfb59aec (patch) | |
| tree | 8c036c70947192bfbff3f2147742bac1ba0a8907 /src/libsyntax/errors | |
| parent | 80bff1eea750404e559887d435c03d21f2b25921 (diff) | |
| parent | 5cdcad9d357aa59ce0423b4f68cb9386310aba73 (diff) | |
| download | rust-b52d76a08528273b218f168753ed846ecfb59aec.tar.gz rust-b52d76a08528273b218f168753ed846ecfb59aec.zip | |
Auto merge of #33214 - oli-obk:const_err_var_exprs, r=eddyb
report `const_err` on all expressions that can fail also a drive-by fix for reporting an "overflow in shift *left*" when shifting an `i64` *right* This increases the warning noise for shifting by more than the bitwidth and for `-T::MIN`. I can silence the bitwidth warnings explicitly and fix the const evaluator to make sure `--$expr` is treated exactly like `$expr` (which is kinda wrong, but mathematically right). r? @eddyb
Diffstat (limited to 'src/libsyntax/errors')
0 files changed, 0 insertions, 0 deletions
