hir-analysis: make a helpful note

This commit is contained in:
Tshepang Mbambo 2023-02-26 00:01:44 +02:00
parent 31448badfd
commit e5d1fcd535
3 changed files with 4 additions and 3 deletions

View file

@ -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,
}