rust/compiler/rustc_middle/src/error.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

15 lines
293 B
Rust
Raw Normal View History

2022-08-26 03:24:09 +00:00
use rustc_macros::SessionDiagnostic;
use rustc_span::Span;
use crate::ty::Ty;
#[derive(SessionDiagnostic)]
#[diag(middle::drop_check_overflow, code = "E0320")]
#[note]
pub struct DropCheckOverflow<'tcx> {
#[primary_span]
pub span: Span,
pub ty: Ty<'tcx>,
pub note: String,
}