rust/src/test/ui/closures
bors 5b0caef54a Auto merge of #68377 - estebank:fn-obligations-spans, r=oli-obk
Tweak obligation error output

- Point at arguments or output when fn obligations come from them, or ident when they don't
- Point at `Sized` bound (fix #47990)
- When object unsafe trait uses itself in associated item suggest using `Self` (fix #66424, fix #33375, partially address #38376, cc #61525)
-  Point at reason in object unsafe trait with `Self` in supertraits or `where`-clause (cc #40533, cc #68377)
- On implicit type parameter `Sized` obligations, suggest `?Sized` (fix #57744, fix #46683)
2020-02-04 17:17:55 +00:00
..
closure-expected-type Update new tests 2020-01-24 20:52:16 +00:00
closure-array-break-length.rs more --blessing + test error annotations fixes 2019-08-21 15:13:13 +03:00
closure-array-break-length.stderr Surround types with backticks in type errors 2019-11-18 11:03:04 -08:00
closure-bounds-cant-promote-superkind-in-struct.rs Remove licenses 2018-12-25 21:08:33 -07:00
closure-bounds-cant-promote-superkind-in-struct.stderr Point at arguments or output when fn obligations come from them, or ident when they don't 2020-02-02 11:52:33 -08:00
closure-bounds-static-cant-capture-borrowed.nll.stderr Change compare mode to use -Zborrowck=mir 2019-05-12 18:46:43 +01:00
closure-bounds-static-cant-capture-borrowed.rs Remove licenses 2018-12-25 21:08:33 -07:00
closure-bounds-static-cant-capture-borrowed.stderr Remove licenses 2018-12-25 21:08:33 -07:00
closure-bounds-subtype.rs Remove licenses 2018-12-25 21:08:33 -07:00
closure-bounds-subtype.stderr Use structured suggestion for restricting bounds 2019-10-15 13:55:43 -07:00
closure-immutable-outer-variable.fixed Update ui test suite to use dyn 2019-05-29 00:57:31 -04:00
closure-immutable-outer-variable.rs Update ui test suite to use dyn 2019-05-29 00:57:31 -04:00
closure-immutable-outer-variable.rs.fixed remove remaining copyright headers 2018-12-28 21:50:33 +01:00
closure-immutable-outer-variable.stderr Update ui tests 2019-11-18 19:00:10 +01:00
closure-move-sync.rs Ignore i586-unknown-linux-gnu and i586-unknown-musl in tests 2019-12-28 12:26:48 -08:00
closure-move-sync.stderr Ignore i586-unknown-linux-gnu and i586-unknown-musl in tests 2019-12-28 12:26:48 -08:00
closure-no-fn-1.rs Remove licenses 2018-12-25 21:08:33 -07:00
closure-no-fn-1.stderr Point at type in let assignment on type errors 2019-11-21 19:24:31 -08:00
closure-no-fn-2.rs Remove licenses 2018-12-25 21:08:33 -07:00
closure-no-fn-2.stderr Point at type in let assignment on type errors 2019-11-21 19:24:31 -08:00
closure-no-fn-3.rs Remove licenses 2018-12-25 21:08:33 -07:00
closure-no-fn-3.stderr Remove licenses 2018-12-25 21:08:33 -07:00
closure-referencing-itself-issue-25954.rs Remove licenses 2018-12-25 21:08:33 -07:00
closure-referencing-itself-issue-25954.stderr Update tests 2019-03-11 23:10:26 +03:00
closure-reform-bad.rs Remove licenses 2018-12-25 21:08:33 -07:00
closure-reform-bad.stderr review comments 2020-01-08 09:29:47 -08:00
closure-wrong-kind.rs Remove licenses 2018-12-25 21:08:33 -07:00
closure-wrong-kind.stderr Update tests 2019-03-11 23:10:26 +03:00
deeply-nested_closures.rs Avoid exponential behaviour when relating types 2020-02-02 12:10:08 +00:00
issue-41366.rs Add test for issue-41366 2019-10-22 17:05:03 +09:00
issue-41366.stderr Add long error for E0631 and update ui tests. 2019-12-02 22:01:27 -05:00
issue-52437.rs Bless const tests with improved diagnostics 2019-11-13 10:44:14 -08:00
issue-52437.stderr Bless unrelated tests with new help message 2019-12-13 10:39:14 -08:00
issue-67123.rs Do not ICE on closure 2019-12-09 18:55:38 +09:00
issue-67123.stderr Do not ICE on closure 2019-12-09 18:55:38 +09:00
issue-68025.rs Fix ICE #68025 2020-01-20 07:06:27 +09:00