1
Fork 0

use cherry-picked commit from #100754 to emit note without error

This commit is contained in:
Nathan Stocks 2022-09-22 10:15:51 -06:00
parent f8ebc72b4a
commit 3a748330af
3 changed files with 12 additions and 5 deletions

View file

@ -690,9 +690,12 @@ pub struct UnknownExternLangItem {
#[diag(passes::missing_panic_handler)]
pub struct MissingPanicHandler;
#[derive(Diagnostic)]
#[diag(passes::alloc_func_required)]
pub struct AllocFuncRequired;
#[derive(Diagnostic)]
#[diag(passes::missing_alloc_error_handler)]
#[note]
pub struct MissingAllocErrorHandler;
#[derive(Diagnostic)]