Skip to content

Commit 59fafcf

Browse files
committed
span_note => fileline_note
1 parent 0a52494 commit 59fafcf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc_resolve/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1989,7 +1989,7 @@ impl<'a, 'tcx> Resolver<'a, 'tcx> {
19891989

19901990
// If it's a typedef, give a note
19911991
if let Def::TyAlias(..) = path_res.base_def {
1992-
err.span_note(trait_path.span,
1992+
err.fileline_note(trait_path.span,
19931993
"`type` aliases cannot be used for traits");
19941994
}
19951995
err.emit();

0 commit comments

Comments
 (0)