]> git.lizzy.rs Git - rust.git/commit - src/librustdoc/json/mod.rs
Rollup merge of #101975 - chenyukang:fix-101749, r=compiler-errors
authorMatthias Krüger <matthias.krueger@famsik.de>
Sun, 4 Dec 2022 15:25:32 +0000 (16:25 +0100)
committerGitHub <noreply@github.com>
Sun, 4 Dec 2022 15:25:32 +0000 (16:25 +0100)
commit7dbd1603b873527cbce2ac3f289f271b138cfc68
tree84f9e154c558bba0a269c2e341ae1b0aa609479b
parent344889e963742e87181d3c023e2a1ea7d95f9468
parentfb004e9a95793b7672d55b2984d65d4ac00a3cfc
Rollup merge of #101975 - chenyukang:fix-101749, r=compiler-errors

Suggest to use . instead of :: when accessing a method of an object

Fixes #101749
Fixes #101542
compiler/rustc_errors/src/lib.rs
compiler/rustc_hir_typeck/src/expr.rs
compiler/rustc_hir_typeck/src/method/suggest.rs
compiler/rustc_resolve/src/late.rs