rust/src/test/ui/try-block
bors 4e3e6db011 Auto merge of #84767 - scottmcm:try_trait_actual, r=lcnr
Implement the new desugaring from `try_trait_v2`

~~Currently blocked on https://github.com/rust-lang/rust/issues/84782, which has a PR in https://github.com/rust-lang/rust/pull/84811~~ Rebased atop that fix.

`try_trait_v2` tracking issue: https://github.com/rust-lang/rust/issues/84277

Unfortunately this is already touching a ton of things, so if you have suggestions for good ways to split it up, I'd be happy to hear them.  (The combination between the use in the library, the compiler changes, the corresponding diagnostic differences, even MIR tests mean that I don't really have a great plan for it other than trying to have decently-readable commits.

r? `@ghost`

~~(This probably shouldn't go in during the last week before the fork anyway.)~~ Fork happened.
2021-05-18 20:50:01 +00:00
..
try-block-bad-lifetime.rs Run attributes check at crate level 2020-10-03 21:33:47 +02:00
try-block-bad-lifetime.stderr hide --explain hint if error has no extended info 2019-04-18 13:29:28 -04:00
try-block-bad-type.rs Better rustc_on_unimplemented, and UI test fixes 2021-05-06 11:37:45 -07:00
try-block-bad-type.stderr Better rustc_on_unimplemented, and UI test fixes 2021-05-06 11:37:45 -07:00
try-block-catch.rs Feedback 2019-04-10 19:22:43 -07:00
try-block-catch.stderr Feedback 2019-04-10 19:22:43 -07:00
try-block-in-edition2015.rs Remove licenses 2018-12-25 21:08:33 -07:00
try-block-in-edition2015.stderr Consistently call editions "Rust 20xx" in messages. 2020-12-31 19:06:09 +01:00
try-block-in-match.rs allow try as scrutinee, e.g. match try ... 2020-04-14 18:39:20 +02:00
try-block-in-return.rs Allow try blocks as the argument to return expressions 2020-09-02 23:39:50 -07:00
try-block-in-while.rs Better rustc_on_unimplemented, and UI test fixes 2021-05-06 11:37:45 -07:00
try-block-in-while.stderr Better rustc_on_unimplemented, and UI test fixes 2021-05-06 11:37:45 -07:00
try-block-maybe-bad-lifetime.rs Run attributes check at crate level 2020-10-03 21:33:47 +02:00
try-block-maybe-bad-lifetime.stderr pretty: trim paths of unique symbols 2020-09-02 22:26:37 +03:00
try-block-opt-init.rs Fixed grammar/style in error messages and reblessed tests. 2019-09-06 03:46:08 +01:00
try-block-opt-init.stderr Show macro name in 'this error originates in macro' message 2021-05-12 19:03:06 -04:00
try-block-type-error.rs Remove licenses 2018-12-25 21:08:33 -07:00
try-block-type-error.stderr Better rustc_on_unimplemented, and UI test fixes 2021-05-06 11:37:45 -07:00
try-block-unreachable-code-lint.rs Make error and warning annotations mandatory in UI tests 2019-11-10 21:01:02 +01:00
try-block-unreachable-code-lint.stderr rustc: Add a warning count upon completion 2020-04-11 16:15:24 +02:00
try-block-unused-delims.fixed unused_delims: trim expr 2020-08-10 12:04:51 +02:00
try-block-unused-delims.rs Audit uses of span_suggestion_short 2020-07-02 15:18:33 +09:00
try-block-unused-delims.stderr Audit uses of span_suggestion_short 2020-07-02 15:18:33 +09:00
try-block.rs Move some tests to more suitable subdirs 2021-03-06 18:24:53 +09:00