diff options
| author | Michael Goulet <michael@errs.io> | 2024-05-31 14:13:46 -0400 |
|---|---|---|
| committer | Michael Goulet <michael@errs.io> | 2024-06-01 12:50:58 -0400 |
| commit | 333458c2cbafbea22480075decc4a827f913a020 (patch) | |
| tree | 56dcf040d2a1a1106ecaf689fa87141fea3f950f /compiler/rustc_const_eval/src | |
| parent | ee47480f4cae83279d884d6bcc9e5e6ddf3334b8 (diff) | |
| download | rust-333458c2cbafbea22480075decc4a827f913a020.tar.gz rust-333458c2cbafbea22480075decc4a827f913a020.zip | |
Uplift TypeRelation and Relate
Diffstat (limited to 'compiler/rustc_const_eval/src')
| -rw-r--r-- | compiler/rustc_const_eval/src/interpret/discriminant.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_const_eval/src/interpret/discriminant.rs b/compiler/rustc_const_eval/src/interpret/discriminant.rs index 224d17dbf52..67fbf9642bf 100644 --- a/compiler/rustc_const_eval/src/interpret/discriminant.rs +++ b/compiler/rustc_const_eval/src/interpret/discriminant.rs @@ -3,7 +3,7 @@ use rustc_middle::mir; use rustc_middle::span_bug; use rustc_middle::ty::layout::{LayoutOf, PrimitiveExt}; -use rustc_middle::ty::{self, ScalarInt, Ty}; +use rustc_middle::ty::{self, CoroutineArgsExt, ScalarInt, Ty}; use rustc_target::abi::{self, TagEncoding}; use rustc_target::abi::{VariantIdx, Variants}; use tracing::{instrument, trace}; |
