mirror of
https://github.com/rust-lang/rust.git
synced 2025-05-04 14:07:36 +00:00
13 lines
289 B
Rust
13 lines
289 B
Rust
![]() |
//! Errors emitted by symbol_mangling.
|
||
|
|
||
|
use rustc_macros::SessionDiagnostic;
|
||
|
use rustc_span::Span;
|
||
|
|
||
|
#[derive(SessionDiagnostic)]
|
||
|
#[error(symbol_mangling::invalid_symbol_name)]
|
||
|
pub struct InvalidSymbolName<'a> {
|
||
|
#[primary_span]
|
||
|
pub span: Span,
|
||
|
pub mangled_formatted: &'a str,
|
||
|
}
|