Remove #[alloc_error_handler] from the compiler and library
This commit is contained in:
parent
c9a6e41026
commit
abc0660118
49 changed files with 22 additions and 842 deletions
|
@ -19,13 +19,6 @@ pub(crate) struct OneCfgPattern {
|
|||
pub(crate) span: Span,
|
||||
}
|
||||
|
||||
#[derive(Diagnostic)]
|
||||
#[diag(builtin_macros_alloc_error_must_be_fn)]
|
||||
pub(crate) struct AllocErrorMustBeFn {
|
||||
#[primary_span]
|
||||
pub(crate) span: Span,
|
||||
}
|
||||
|
||||
#[derive(Diagnostic)]
|
||||
#[diag(builtin_macros_assert_requires_boolean)]
|
||||
pub(crate) struct AssertRequiresBoolean {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue