Skip to content

Commit 87faea0

Browse files
committed
update bug-fix procedure
1 parent 41c61ca commit 87faea0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rustc-bug-fix-procedure.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ store.register_future_incompatible(sess, vec![
155155
]);
156156

157157
// 4. Report the lint:
158-
tcx.sess.add_lint(
158+
tcx.lint_node(
159159
lint::builtin::YOUR_ERROR_HERE,
160160
path_id,
161161
binding.span,

0 commit comments

Comments
 (0)