about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2022-10-06 07:07:36 +0200
committerGitHub <noreply@github.com>2022-10-06 07:07:36 +0200
commita9b3441c178191b4d33f9fe6b8e937894baff7c4 (patch)
treefef3634ad1b6696f98e620986ac6f26f8486bd14 /compiler/rustc_codegen_llvm/src
parent6d8cea63db8761d8a7e5549e407e5bd60b5c3eb1 (diff)
parentea3837072c44aaafd4156755fde5c4b43b8f3558 (diff)
downloadrust-a9b3441c178191b4d33f9fe6b8e937894baff7c4.tar.gz
rust-a9b3441c178191b4d33f9fe6b8e937894baff7c4.zip
Rollup merge of #102694 - compiler-errors:fn-to-method, r=davidtwco
Suggest calling method if fn does not exist

I tried to split this up into two commits, the first where we stash the resolution error until typeck (which causes a bunch of diagnostics changes because the ordering of error messages change), then the second commit is the actual logic that actually implements the suggestion.

I am not in love with the presentation of the suggestion, so I could use some advice for how to format the actual messaging.

r? diagnostics

Fixes #102518
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions