Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Commit 4375419

Browse files
committed
Rename HandlerInner::delay_span_bug as HandlerInner::span_delayed_bug.
Because the corresponding `Level` is `DelayedBug` and `span_delayed_bug` follows the pattern used everywhere else: `span_err`, `span_warning`, etc.
1 parent 81606ec commit 4375419

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/hir-def/src/attr/builtin.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -629,7 +629,7 @@ pub const INERT_ATTRIBUTES: &[BuiltinAttribute] = &[
629629
rustc_attr!(TEST, rustc_regions, Normal, template!(Word), WarnFollowing),
630630
rustc_attr!(
631631
TEST, rustc_error, Normal,
632-
template!(Word, List: "delay_span_bug_from_inside_query"), WarnFollowingWordOnly
632+
template!(Word, List: "span_delayed_bug_from_inside_query"), WarnFollowingWordOnly
633633
),
634634
rustc_attr!(TEST, rustc_dump_user_substs, Normal, template!(Word), WarnFollowing),
635635
rustc_attr!(TEST, rustc_evaluate_where_clauses, Normal, template!(Word), WarnFollowing),

0 commit comments

Comments
 (0)