remove support for the #[start] attribute
This commit is contained in:
@@ -1313,17 +1313,6 @@ pub(crate) struct MultipleRustcMain {
|
||||
pub additional: Span,
|
||||
}
|
||||
|
||||
#[derive(Diagnostic)]
|
||||
#[diag(passes_multiple_start_functions, code = E0138)]
|
||||
pub(crate) struct MultipleStartFunctions {
|
||||
#[primary_span]
|
||||
pub span: Span,
|
||||
#[label]
|
||||
pub labeled: Span,
|
||||
#[label(passes_previous)]
|
||||
pub previous: Span,
|
||||
}
|
||||
|
||||
#[derive(Diagnostic)]
|
||||
#[diag(passes_extern_main)]
|
||||
pub(crate) struct ExternMain {
|
||||
|
||||
Reference in New Issue
Block a user