about summary refs log tree commit diff
path: root/src/libsyntax/parse
diff options
context:
space:
mode:
authorEsteban Küber <esteban@kuber.com.ar>2019-10-14 17:20:50 -0700
committerEsteban Küber <esteban@kuber.com.ar>2019-10-27 11:50:43 -0700
commitb26ddb8af37362e33c45c78c9c91a3c5cdabfe7e (patch)
tree13882f89b25e139a8e0997d8c7146bc15b0483c0 /src/libsyntax/parse
parent0f677c65e867d93a47ccbaeaf6e6725cde8c5ff6 (diff)
downloadrust-b26ddb8af37362e33c45c78c9c91a3c5cdabfe7e.tar.gz
rust-b26ddb8af37362e33c45c78c9c91a3c5cdabfe7e.zip
Point at local similarly named element and tweak references to variants
Point at the span for the definition of ADTs internal to the current
crate.

Look at the leading char of the ident to determine whether we're
expecting a likely fn or any of a fn, a tuple struct or a tuple variant.

Turn fn `add_typo_suggestion` into a `Resolver` method.
Diffstat (limited to 'src/libsyntax/parse')
0 files changed, 0 insertions, 0 deletions