rust/src/test/ui/dst
Esteban Küber 190589f8a7 Use structured suggestion for restricting bounds
When a trait bound is not met and restricting a type parameter would
make the restriction hold, use a structured suggestion pointing at an
appropriate place (type param in param list or `where` clause).

Account for opaque parameters where instead of suggesting extending
the `where` clause, we suggest appending the new restriction:
`fn foo(impl Trait + UnmetTrait)`.
2019-10-15 13:55:43 -07:00
..
dst-bad-assign-2.rs Update ui test suite to use dyn 2019-05-29 00:57:31 -04:00
dst-bad-assign-2.stderr Fix broken links to second edition TRPL. 2019-01-01 12:53:07 -05:00
dst-bad-assign-3.rs Update ui test suite to use dyn 2019-05-29 00:57:31 -04:00
dst-bad-assign-3.stderr hide --explain hint if error has no extended info 2019-04-18 13:29:28 -04:00
dst-bad-assign.rs Update ui test suite to use dyn 2019-05-29 00:57:31 -04:00
dst-bad-assign.stderr hide --explain hint if error has no extended info 2019-04-18 13:29:28 -04:00
dst-bad-coerce1.rs Update ui test suite to use dyn 2019-05-29 00:57:31 -04:00
dst-bad-coerce1.stderr Update ui test suite to use dyn 2019-05-29 00:57:31 -04:00
dst-bad-coerce2.rs Update ui test suite to use dyn 2019-05-29 00:57:31 -04:00
dst-bad-coerce2.stderr Update ui test suite to use dyn 2019-05-29 00:57:31 -04:00
dst-bad-coerce3.rs Update ui test suite to use dyn 2019-05-29 00:57:31 -04:00
dst-bad-coerce3.stderr Update ui test suite to use dyn 2019-05-29 00:57:31 -04:00
dst-bad-coerce4.rs Remove licenses 2018-12-25 21:08:33 -07:00
dst-bad-coerce4.stderr Remove licenses 2018-12-25 21:08:33 -07:00
dst-bad-coercions.rs Update ui test suite to use dyn 2019-05-29 00:57:31 -04:00
dst-bad-coercions.stderr Update ui test suite to use dyn 2019-05-29 00:57:31 -04:00
dst-bad-deep-2.rs Remove licenses 2018-12-25 21:08:33 -07:00
dst-bad-deep-2.stderr Fix broken links to second edition TRPL. 2019-01-01 12:53:07 -05:00
dst-bad-deep.rs Remove licenses 2018-12-25 21:08:33 -07:00
dst-bad-deep.stderr Fix broken links to second edition TRPL. 2019-01-01 12:53:07 -05:00
dst-index.rs Update tests for changes to cannot move errors 2019-06-03 14:55:29 +01:00
dst-index.stderr Update tests for changes to cannot move errors 2019-06-03 14:55:29 +01:00
dst-object-from-unsized-type.rs Update ui test suite to use dyn 2019-05-29 00:57:31 -04:00
dst-object-from-unsized-type.stderr Use structured suggestion for restricting bounds 2019-10-15 13:55:43 -07:00
dst-rvalue.rs Update tests for changes to cannot move errors 2019-06-03 14:55:29 +01:00
dst-rvalue.stderr Update tests for changes to cannot move errors 2019-06-03 14:55:29 +01:00
dst-sized-trait-param.rs Remove licenses 2018-12-25 21:08:33 -07:00
dst-sized-trait-param.stderr Fix broken links to second edition TRPL. 2019-01-01 12:53:07 -05:00