You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fn main() {
auto x = true;
auto y = 1;
auto z = x + y;
}
reports "error: mismatched types: expected bool but found bool (types differ)". Should be "bool but found int". Also, the reported span encompasses the entire binop when it should probably just cover the y variable.
Activity
rustc: Don't commit unification changes until unify succeeds
rustc: Use the rhs span when unifying binops
Auto merge of rust-lang#516 - binarycrusader:master, r=alexcrichton
Merge pull request rust-lang#1 from rust-lang/master
Merge pull request rust-lang#516 from ehuss/if_while_or_patterns
Loop-level rematerialization (rust-lang#516)
Add clang-format tool, and a script to use it (rust-lang#516)
Merge pull request rust-lang#516 from TDecki/master
Merge pull request #516 from TDecki/master
Merge rust-lang#630
Merge pull request rust-lang#516 from RalfJung/rc
Auto merge of rust-lang#516 - JohnEndson:master, r=Amanieu