Skip to content

Commit 14924b0

Browse files
committed
Auto merge of rust-lang#16597 - lnicola:sync-from-rust, r=lnicola
internal: Sync from downstream
2 parents ac998a7 + 3aaaa14 commit 14924b0

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -650,7 +650,7 @@ pub const INERT_ATTRIBUTES: &[BuiltinAttribute] = &[
650650
rustc_attr!(TEST, rustc_regions, Normal, template!(Word), WarnFollowing),
651651
rustc_attr!(
652652
TEST, rustc_error, Normal,
653-
template!(Word, List: "span_delayed_bug_from_inside_query"), WarnFollowingWordOnly
653+
template!(Word, List: "delayed_bug_from_inside_query"), WarnFollowingWordOnly
654654
),
655655
rustc_attr!(TEST, rustc_dump_user_args, Normal, template!(Word), WarnFollowing),
656656
rustc_attr!(TEST, rustc_evaluate_where_clauses, Normal, template!(Word), WarnFollowing),

crates/proc-macro-srv/src/server/rust_analyzer_span.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ impl server::TokenStream for RaSpanServer {
249249
tt::TokenTree::Leaf(tt::Leaf::Literal(lit)) => {
250250
bridge::TokenTree::Literal(bridge::Literal {
251251
// FIXME: handle literal kinds
252-
kind: bridge::LitKind::Err,
252+
kind: bridge::LitKind::Integer, // dummy
253253
symbol: Symbol::intern(self.interner, &lit.text),
254254
// FIXME: handle suffixes
255255
suffix: None,

crates/proc-macro-srv/src/server/token_id.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ impl server::TokenStream for TokenIdServer {
234234
tt::TokenTree::Leaf(tt::Leaf::Literal(lit)) => {
235235
bridge::TokenTree::Literal(bridge::Literal {
236236
// FIXME: handle literal kinds
237-
kind: bridge::LitKind::Err,
237+
kind: bridge::LitKind::Integer, // dummy
238238
symbol: Symbol::intern(self.interner, &lit.text),
239239
// FIXME: handle suffixes
240240
suffix: None,

0 commit comments

Comments
 (0)