rust/src/librustc_resolve
bors 96d1334e56 Auto merge of #56572 - kevgrasso:let_self_err_dev, r=estebank
Contexually dependent error message for E0424 when value is assigned to "self"

This is an improvement for pull request #54495 referencing issue #54369. If the "self" keyword is assigned a value as though it were a valid identifier, it will now report:
```
let self = "self";
    ^^^^ `self` value is a keyword and may not be bound to variables or shadowed
```
instead of
```
let self = "self";
    ^^^^ `self` value is a keyword only available in methods with `self` parameter
```
If anyone has a better idea for what the error should be I'd be happy to modify it appropriately.
2018-12-14 20:36:12 +00:00
..
build_reduced_graph.rs Auto merge of #56392 - petrochenkov:regensym, r=oli-obk 2018-12-06 15:08:11 +00:00
Cargo.toml resolve: Merge resolution for macro_rules into the common early in-scope resolution function 2018-10-05 11:40:40 +04:00
check_unused.rs rustc: remove {FxHash,Node,DefId,HirId,ItemLocal}{Map,Set} "constructor" fns. 2018-11-21 07:27:02 +02:00
diagnostics.rs std: Depend directly on crates.io crates 2018-12-11 21:08:22 -08:00
error_reporting.rs syntax: Rename some keywords 2018-12-04 00:30:27 +03:00
lib.rs debug logging, added conditional error message, tests updated 2018-12-13 20:16:03 -05:00
macros.rs Various minor/cosmetic improvements to code 2018-12-07 23:53:34 +00:00
resolve_imports.rs Rollup merge of #56620 - petrochenkov:noclutter, r=estebank 2018-12-08 08:43:49 +01:00