]> git.lizzy.rs Git - rust.git/commit - src/tools/miri
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)
commitec007845cfe6a3c54aa44468df9ff2be05fe25b8
tree561a3c2331a5492d4bf6e536128e0e4c28b8821c
parentee88f46bb5e27c4d9f30326e69ff2298dcbeecb1
parenta9b16c6d714dcec62b9e92f1ad7963b999c163c9
Rollup merge of #79981 - camelid:overflowing_literals-inference-error, r=lcnr

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```
compiler/rustc_lint/src/types.rs