about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2016-09-07 05:59:50 -0700
committerGitHub <noreply@github.com>2016-09-07 05:59:50 -0700
commitf707582a43ba1f85c540733cf04ba19247a02e79 (patch)
tree0cd73489702c9bfbe3f60f865715211b44bd8926 /src/rustllvm/RustWrapper.cpp
parent2819eca69cc053afaf975f4702abbde83c6b7cdc (diff)
parent288e7caf19b415007787f47424c9e00913cb7803 (diff)
downloadrust-f707582a43ba1f85c540733cf04ba19247a02e79.tar.gz
rust-f707582a43ba1f85c540733cf04ba19247a02e79.zip
Auto merge of #36289 - euclio:self-suggestion, r=jseyfried
resolve: Suggest `use self` when import resolves

Improves errors messages by replacing "Maybe a missing `extern crate`" messages
with "Did you mean `self::...`" when the `self` import would succeed.

Fixes #34191.

Thank you for the help @jseyfried!
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions