about summary refs log tree commit diff
path: root/src/libsyntax/parse
diff options
context:
space:
mode:
authorMazdak Farrokhzad <twingoow@gmail.com>2019-10-13 19:17:12 +0200
committerGitHub <noreply@github.com>2019-10-13 19:17:12 +0200
commit8f8954e6716026608cffd3c7694e6863972f102f (patch)
treeaf1ec6f255de7a746c4f8b9e7cb0bb0f4646f46c /src/libsyntax/parse
parentd3cbf576dae32bbc0fdacff6c88f9586d6e0b08f (diff)
parentb8e7f761819da1e50171f79e6de95122eef816a0 (diff)
downloadrust-8f8954e6716026608cffd3c7694e6863972f102f.tar.gz
rust-8f8954e6716026608cffd3c7694e6863972f102f.zip
Rollup merge of #65366 - faern:source-on-intostringerror, r=bluss
Implement Error::source on IntoStringError + Remove superfluous cause impls

IntoStringError only implemented `Error::cause`, which is deprecated. This implemements `Error::source` instead.
`Error::cause` will still work as before, thanks to the default implementation.

I think this was the only/last `Error` impl in the standard library to have a cause, but not a source.
Diffstat (limited to 'src/libsyntax/parse')
0 files changed, 0 insertions, 0 deletions