use cherry-picked commit from #100754 to emit note without error
This commit is contained in:
parent
f8ebc72b4a
commit
3a748330af
3 changed files with 12 additions and 5 deletions
|
@ -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)]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue