]> git.lizzy.rs Git - rust.git/commitdiff
Rollup merge of #79981 - camelid:overflowing_literals-inference-error, r=lcnr
authorGuillaume Gomez <guillaume1.gomez@gmail.com>
Wed, 17 Feb 2021 19:37:48 +0000 (20:37 +0100)
committerGitHub <noreply@github.com>
Wed, 17 Feb 2021 19:37:48 +0000 (20:37 +0100)
Add 'consider using' message to overflowing_literals

Fixes #79744.

Ironically, the `overflowing_literals` handler for binary or hex already
had this message! You would think it would be the other way around :)

cc ```@scottmcm```

1  2 
compiler/rustc_lint/src/types.rs

Simple merge