diff options
| author | bors <bors@rust-lang.org> | 2018-09-01 18:08:45 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2018-09-01 18:08:45 +0000 |
| commit | f39f218ec33d93e8a1b0ac4282f62ee35e02c18a (patch) | |
| tree | e914134013b2f01af35a165cc497337e32c658c8 /src/libsyntax/parse | |
| parent | 839d99c861dbabfd4fa97b66ede9a97b8255d179 (diff) | |
| parent | e2e4f57bf84ca3cbdb91ba9d235c12b46666d090 (diff) | |
| download | rust-f39f218ec33d93e8a1b0ac4282f62ee35e02c18a.tar.gz rust-f39f218ec33d93e8a1b0ac4282f62ee35e02c18a.zip | |
Auto merge of #53533 - withoutboats:error-source, r=withoutboats
Add Error::source method per RFC 2504. This implements part of RFC 2504. * Adds `Error::source`, a replacement for `Error::cause` with the "right" signature, which will be instantly stable. * Deprecates `Error::cause` in 1.33 (this choice was based on the precedent in #52994, which we haven't finalized). * Redefines `Error::cause` to delegate to `Error::source` (the delegation can only go in this direction, not the other). @rfcbot fcp merge
Diffstat (limited to 'src/libsyntax/parse')
0 files changed, 0 insertions, 0 deletions
