mirror of
https://github.com/rust-lang/rust.git
synced 2025-05-01 20:47:36 +00:00
15 lines
293 B
Rust
15 lines
293 B
Rust
![]() |
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,
|
||
|
}
|