]> git.lizzy.rs Git - rust.git/commitdiff
Auto merge of #57250 - codeworm96:tyerr_msg, r=varkor
authorbors <bors@rust-lang.org>
Wed, 2 Jan 2019 11:59:15 +0000 (11:59 +0000)
committerbors <bors@rust-lang.org>
Wed, 2 Jan 2019 11:59:15 +0000 (11:59 +0000)
Improve type mismatch error messages

Closes #56115.

Replace "integral variable" with "integer" and replace "floating-point variable" with "floating-point number" to make the message less confusing.

TODO the book and clippy needs to be changed accordingly later.

r? @varkor


Trivial merge