about summary refs log tree commit diff
path: root/src/test/ui/thinlto
diff options
context:
space:
mode:
authorPietro Albini <pietro@pietroalbini.org>2019-05-31 13:33:51 +0200
committerGitHub <noreply@github.com>2019-05-31 13:33:51 +0200
commiteebe62aaa1e31151269d19ec71248215a40f6417 (patch)
tree3dc174831842db900bfffab2840cb8d98fdfb907 /src/test/ui/thinlto
parent3ade426ede7bca4a74bc641a12f2e7fe2cc20c47 (diff)
parentd2d89b10de394b4a1d5e2491dfffd3d65d1741b3 (diff)
downloadrust-eebe62aaa1e31151269d19ec71248215a40f6417.tar.gz
rust-eebe62aaa1e31151269d19ec71248215a40f6417.zip
Rollup merge of #60897 - seanmonstar:patch-4, r=sfackler
error: remove StringError from Debug output

Seeing `StringError("something something")` in debug output can cause
 someone to think there was an error dealing with `String`s, not that the
error type is just a string. So, remove that noise.

For example:

```
io error: Custom { kind: InvalidData, error: StringError("corrupt data") }
```

With this change:

```
io error: Custom { kind: InvalidData, error: "corrupt data" }
```
Diffstat (limited to 'src/test/ui/thinlto')
0 files changed, 0 insertions, 0 deletions