diff options
| author | Mark Simulacrum <mark.simulacrum@gmail.com> | 2017-05-16 08:18:28 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-05-16 08:18:28 -0600 |
| commit | 7a9cf929d5befc5022d60a6f610178d383e64a33 (patch) | |
| tree | bc986f228bfe3e0ffb9ab2d05e874398aedd61f2 /src/libstd/thread | |
| parent | 4d09a0eb5d201c831d19f3fe93fbe636eca7d97d (diff) | |
| parent | c0d5aa8aaf478e52d0e96bd0fbd19cde6e30ebb6 (diff) | |
| download | rust-7a9cf929d5befc5022d60a6f610178d383e64a33.tar.gz rust-7a9cf929d5befc5022d60a6f610178d383e64a33.zip | |
Rollup merge of #41489 - estebank:trait-bounds-diagnosstic, r=arielb1
Make unsatisfied trait bounds note multiline
Make diagnostic note for existing method with unsatisfied trait bounds
multiline for cleaner output.
```
= note: the method `count` exists but the following trait bounds were not satisfied:
`[closure@../../src/test/compile-fail/issue-36053-2.rs:17:39: 17:53] : std::ops::FnMut<(&_,)>`
`std::iter::Filter<std::iter::Fuse<std::iter::Once<&str>> [closure@../../src/test/compile-fail/issue-36053-2.rs:17:39: 17:53]> : std::iter::Iterator`
```
Before:
```
= note: the method `count` exists but the following trait bounds were not satisfied: `[closure@../../src/test/compile-fail/issue-36053-2.rs:17:39: 17:53] : std::ops::FnMut<(&_,)>`, `std::iter::Filter<std::iter::Fuse<std::iter::Once<&str>>, [closure@../../src/test/compile-fail/issue-36053-2.rs:17:39: 17:53]> : std::iter::Iterator`
```
Diffstat (limited to 'src/libstd/thread')
0 files changed, 0 insertions, 0 deletions
