hir-analysis: make a helpful note
This commit is contained in:
parent
31448badfd
commit
e5d1fcd535
3 changed files with 4 additions and 3 deletions
|
@ -329,8 +329,9 @@ pub(crate) struct WhereClauseOnMain {
|
|||
#[diag(hir_analysis_track_caller_on_main)]
|
||||
pub(crate) struct TrackCallerOnMain {
|
||||
#[primary_span]
|
||||
#[suggestion(applicability = "maybe-incorrect", code = "")]
|
||||
pub span: Span,
|
||||
#[label]
|
||||
#[label(hir_analysis_track_caller_on_main)]
|
||||
pub annotated: Span,
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue