mirror of
https://github.com/rust-lang/rust.git
synced 2025-05-06 06:57:42 +00:00
15 lines
321 B
Rust
15 lines
321 B
Rust
use rustc_macros::Diagnostic;
|
|
use rustc_span::Span;
|
|
|
|
#[derive(Diagnostic)]
|
|
#[diag(infer_opaque_hidden_type)]
|
|
pub(crate) struct OpaqueHiddenTypeDiag {
|
|
#[primary_span]
|
|
#[label]
|
|
pub span: Span,
|
|
#[note(infer_opaque_type)]
|
|
pub opaque_type: Span,
|
|
#[note(infer_hidden_type)]
|
|
pub hidden_type: Span,
|
|
}
|