]> git.lizzy.rs Git - rust.git/commit
suggest removing unnecessary . to use a floating point literal
authorTakayuki Maeda <takoyaki0316@gmail.com>
Tue, 8 Nov 2022 10:45:41 +0000 (19:45 +0900)
committerTakayuki Maeda <takoyaki0316@gmail.com>
Fri, 11 Nov 2022 01:51:00 +0000 (10:51 +0900)
commitc467006fd0d0fd046590c7867fcfef2062d144a3
tree247e6a0592cc9ae6e439e4125acec46e67b8ebf3
parentc1a859b25a95999ba276075bbd8e284ea675b41a
suggest removing unnecessary . to use a floating point literal
compiler/rustc_hir_typeck/src/demand.rs
compiler/rustc_hir_typeck/src/fn_ctxt/suggestions.rs
src/test/ui/suggestions/unnecessary_dot_for_floating_point_literal.rs [new file with mode: 0644]
src/test/ui/suggestions/unnecessary_dot_for_floating_point_literal.stderr [new file with mode: 0644]