Skip to content

Commit 4e28991

Browse files
committed
Auto merge of rust-lang#3876 - RalfJung:rustup, r=RalfJung
Rustup
2 parents af7440a + f73bf39 commit 4e28991

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

crates/hir-expand/src/inert_attr_macro.rs

+3
Original file line numberDiff line numberDiff line change
@@ -464,6 +464,9 @@ pub const INERT_ATTRIBUTES: &[BuiltinAttribute] = &[
464464
// Used by the `rustc::potential_query_instability` lint to warn methods which
465465
// might not be stable during incremental compilation.
466466
rustc_attr!(rustc_lint_query_instability, Normal, template!(Word), WarnFollowing, INTERNAL_UNSTABLE),
467+
// Used by the `rustc::untracked_query_information` lint to warn methods which
468+
// might break incremental compilation.
469+
rustc_attr!(rustc_lint_untracked_query_information, Normal, template!(Word), WarnFollowing, INTERNAL_UNSTABLE),
467470
// Used by the `rustc::untranslatable_diagnostic` and `rustc::diagnostic_outside_of_impl` lints
468471
// to assist in changes to diagnostic APIs.
469472
rustc_attr!(rustc_lint_diagnostics, Normal, template!(Word), WarnFollowing, INTERNAL_UNSTABLE),

crates/parser/src/lexed_str.rs

+7
Original file line numberDiff line numberDiff line change
@@ -198,6 +198,13 @@ impl<'a> Converter<'a> {
198198
}
199199
LIFETIME_IDENT
200200
}
201+
rustc_lexer::TokenKind::UnknownPrefixLifetime => {
202+
err = "Unknown lifetime prefix";
203+
LIFETIME_IDENT
204+
}
205+
rustc_lexer::TokenKind::RawLifetime => {
206+
LIFETIME_IDENT
207+
}
201208

202209
rustc_lexer::TokenKind::Semi => T![;],
203210
rustc_lexer::TokenKind::Comma => T![,],

0 commit comments

Comments
 (0)