about summary refs log tree commit diff
path: root/compiler/rustc_trait_selection/src/errors.rs
diff options
context:
space:
mode:
authorb-naber <bn263@gmx.de>2022-09-22 12:34:23 +0200
committerb-naber <bn263@gmx.de>2022-09-23 14:27:34 +0200
commita705e65605868adb0879734a984b445d3c40fd6f (patch)
treeefcbcf22d56aca46f73d412079f2f9bfa3fe7f8b /compiler/rustc_trait_selection/src/errors.rs
parentefb908991b2c2cd43c40c8e62f563fdd17d84204 (diff)
downloadrust-a705e65605868adb0879734a984b445d3c40fd6f.tar.gz
rust-a705e65605868adb0879734a984b445d3c40fd6f.zip
rename Unevaluated to UnevaluatedConst
Diffstat (limited to 'compiler/rustc_trait_selection/src/errors.rs')
-rw-r--r--compiler/rustc_trait_selection/src/errors.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/rustc_trait_selection/src/errors.rs b/compiler/rustc_trait_selection/src/errors.rs
index 5e1b80eae39..61793468594 100644
--- a/compiler/rustc_trait_selection/src/errors.rs
+++ b/compiler/rustc_trait_selection/src/errors.rs
@@ -1,6 +1,6 @@
 use rustc_errors::{fluent, ErrorGuaranteed, Handler, IntoDiagnostic};
 use rustc_macros::Diagnostic;
-use rustc_middle::ty::{PolyTraitRef, Ty, Unevaluated};
+use rustc_middle::ty::{self, PolyTraitRef, Ty};
 use rustc_session::Limit;
 use rustc_span::{Span, Symbol};
 
@@ -18,7 +18,7 @@ pub struct DumpVTableEntries<'a> {
 pub struct UnableToConstructConstantValue<'a> {
     #[primary_span]
     pub span: Span,
-    pub unevaluated: Unevaluated<'a>,
+    pub unevaluated: ty::UnevaluatedConst<'a>,
 }
 
 #[derive(Diagnostic)]