about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2020-11-01 06:49:16 +0000
committerbors <bors@rust-lang.org>2020-11-01 06:49:16 +0000
commit1d5b7c3c96a86c96f1fbf1441475028df94d165a (patch)
tree1cbf16c1b8969310534a9f5bbcc225f2c1974fae /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parenta6403b0f04b58a35cb9f3e544b2847ee09bcf3a4 (diff)
parent9e16213610f606de0e44ac2b26ab9666bf0e83bf (diff)
downloadrust-1d5b7c3c96a86c96f1fbf1441475028df94d165a.tar.gz
rust-1d5b7c3c96a86c96f1fbf1441475028df94d165a.zip
Auto merge of #78420 - estebank:suggest-assoc-fn, r=petrochenkov
Suggest calling associated `fn` inside `trait`s

When calling a function that doesn't exist inside of a trait's
associated `fn`, and another associated `fn` in that trait has that
name, suggest calling it with the appropriate fully-qualified path.

Expand the label to be more descriptive.

Prompted by the following user experience:
https://users.rust-lang.org/t/cannot-find-function/50663
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions