diff options
| author | David Wood <david@davidtw.co> | 2018-10-01 17:46:04 +0200 |
|---|---|---|
| committer | David Wood <david@davidtw.co> | 2018-10-02 00:35:15 +0200 |
| commit | 43b5d725d0b458e317c52ef200d323998fa0c20f (patch) | |
| tree | 2173f9fa73cbc837395f77d52dd64251d6bff968 /src/libsyntax/parse | |
| parent | f55129d0037c112a80276ee1de0c2245ddc6462c (diff) | |
| download | rust-43b5d725d0b458e317c52ef200d323998fa0c20f.tar.gz rust-43b5d725d0b458e317c52ef200d323998fa0c20f.zip | |
Improve implicit self mutability suggestions.
This commit adds an `ImplicitSelfKind` to the HIR and the MIR that keeps track of whether a implicit self argument is immutable by-value, mutable by-value, immutable reference or mutable reference so that the addition of the `mut` keyword can be suggested for the immutable by-value case.
Diffstat (limited to 'src/libsyntax/parse')
0 files changed, 0 insertions, 0 deletions
