diff options
| author | Michael Goulet <michael@errs.io> | 2023-10-26 17:30:53 +0000 |
|---|---|---|
| committer | Michael Goulet <michael@errs.io> | 2023-10-26 17:58:02 +0000 |
| commit | 1836c1fbbdf0d6902da9a2d2473dbc72f371eb2e (patch) | |
| tree | 65993066515084f35f49bf7c5349687a1f46f0cb /compiler/rustc_query_impl/src | |
| parent | cf226e93dcb0e21e2daa7c26aca0c5b46ff1b646 (diff) | |
| download | rust-1836c1fbbdf0d6902da9a2d2473dbc72f371eb2e.tar.gz rust-1836c1fbbdf0d6902da9a2d2473dbc72f371eb2e.zip | |
Stash and cancel cycle errors for auto trait leakage in opaques
Diffstat (limited to 'compiler/rustc_query_impl/src')
| -rw-r--r-- | compiler/rustc_query_impl/src/plumbing.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/compiler/rustc_query_impl/src/plumbing.rs b/compiler/rustc_query_impl/src/plumbing.rs index 4516708ce17..536c0a20e2a 100644 --- a/compiler/rustc_query_impl/src/plumbing.rs +++ b/compiler/rustc_query_impl/src/plumbing.rs @@ -197,6 +197,9 @@ macro_rules! handle_cycle_error { ([(fatal_cycle) $($rest:tt)*]) => {{ rustc_query_system::HandleCycleError::Fatal }}; + ([(cycle_stash) $($rest:tt)*]) => {{ + rustc_query_system::HandleCycleError::Stash + }}; ([(cycle_delay_bug) $($rest:tt)*]) => {{ rustc_query_system::HandleCycleError::DelayBug }}; |
