about summary refs log tree commit diff
path: root/compiler/rustc_hir_analysis/src/errors.rs
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2022-10-29 08:57:35 +0200
committerGitHub <noreply@github.com>2022-10-29 08:57:35 +0200
commit790a71642019ebab8801e3237d3f8ff0472dc764 (patch)
tree10edadaa2372425b2441784067389431f35a305b /compiler/rustc_hir_analysis/src/errors.rs
parent67c469faf02e6e68013abdc5388162203fdc665d (diff)
parent4accf838f6d847c0c93f4c25540446dad0309519 (diff)
downloadrust-790a71642019ebab8801e3237d3f8ff0472dc764.tar.gz
rust-790a71642019ebab8801e3237d3f8ff0472dc764.zip
Rollup merge of #103383 - compiler-errors:tait-scope, r=oli-obk
Note scope of TAIT more accurately

This maybe explains why the person was confused in #101897, since we say "same module" but really should've said "same impl".

r? ``@oli-obk``
Diffstat (limited to 'compiler/rustc_hir_analysis/src/errors.rs')
-rw-r--r--compiler/rustc_hir_analysis/src/errors.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_hir_analysis/src/errors.rs b/compiler/rustc_hir_analysis/src/errors.rs
index 6ed8244d119..d5b1a7ce1c2 100644
--- a/compiler/rustc_hir_analysis/src/errors.rs
+++ b/compiler/rustc_hir_analysis/src/errors.rs
@@ -143,6 +143,7 @@ pub struct UnconstrainedOpaqueType {
     #[primary_span]
     pub span: Span,
     pub name: Symbol,
+    pub what: &'static str,
 }
 
 pub struct MissingTypeParams {