about summary refs log tree commit diff
path: root/compiler/rustc_trait_selection/src/errors.rs
diff options
context:
space:
mode:
authorThe Miri Cronjob Bot <miri@cron.bot>2024-08-30 05:09:57 +0000
committerThe Miri Cronjob Bot <miri@cron.bot>2024-08-30 05:09:57 +0000
commit23f4eae905486ee02cecee1200fb8623a7ef376a (patch)
tree5ea72db01aae5b01c502d58a9d4f69cbfab321af /compiler/rustc_trait_selection/src/errors.rs
parent0453d9bee8f7a6035d76baefce52b35db188387f (diff)
parent0d634185dfddefe09047881175f35c65d68dcff1 (diff)
downloadrust-23f4eae905486ee02cecee1200fb8623a7ef376a.tar.gz
rust-23f4eae905486ee02cecee1200fb8623a7ef376a.zip
Merge from rustc
Diffstat (limited to 'compiler/rustc_trait_selection/src/errors.rs')
-rw-r--r--compiler/rustc_trait_selection/src/errors.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler/rustc_trait_selection/src/errors.rs b/compiler/rustc_trait_selection/src/errors.rs
index 5384084f6d7..ebaec0b9059 100644
--- a/compiler/rustc_trait_selection/src/errors.rs
+++ b/compiler/rustc_trait_selection/src/errors.rs
@@ -205,6 +205,8 @@ pub struct AnnotationRequired<'a> {
     #[note(trait_selection_full_type_written)]
     pub was_written: bool,
     pub path: PathBuf,
+    #[note(trait_selection_type_annotations_needed_error_time)]
+    pub time_version: bool,
 }
 
 // Copy of `AnnotationRequired` for E0283