diff options
| author | bors <bors@rust-lang.org> | 2022-02-14 12:26:43 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2022-02-14 12:26:43 +0000 |
| commit | b321742c6c27494897a88cd5ac17ac20aa3469a1 (patch) | |
| tree | 43a4cba20ab4b78002be0a219806ee83f2027309 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp | |
| parent | 902e59057ee723dd6fda6e757b408d487a388139 (diff) | |
| parent | 48a79bcf7b82000e7658ea87f286119a5730aeca (diff) | |
| download | rust-b321742c6c27494897a88cd5ac17ac20aa3469a1.tar.gz rust-b321742c6c27494897a88cd5ac17ac20aa3469a1.zip | |
Auto merge of #93938 - BoxyUwU:fix_res_self_ty, r=lcnr
Make `Res::SelfTy` a struct variant and update docs I found pattern matching on a `(Option<DefId>, Option<(DefId, bool)>)` to not be super readable, additionally the doc comments on the types in a tuple variant aren't visible anywhere at use sites as far as I can tell (using rust analyzer + vscode) The docs incorrectly assumed that the `DefId` in `Option<(DefId, bool)>` would only ever be for an impl item and I also found the code examples to be somewhat unclear about which `DefId` was being talked about. r? `@lcnr` since you reviewed the last PR changing these docs
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
