We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dd7927a commit 2148556Copy full SHA for 2148556
core/src/macros/mod.rs
@@ -1704,14 +1704,14 @@ pub(crate) mod builtin {
1704
}
1705
1706
/// Unstable placeholder for type ascription.
1707
- #[rustc_builtin_macro]
+ #[allow_internal_unstable(builtin_syntax)]
1708
#[unstable(
1709
feature = "type_ascription",
1710
issue = "23416",
1711
reason = "placeholder syntax for type ascription"
1712
)]
1713
pub macro type_ascribe($expr:expr, $ty:ty) {
1714
- /* compiler built-in */
+ builtin # type_ascribe($expr, $ty)
1715
1716
1717
/// Unstable implementation detail of the `rustc` compiler, do not use.
0 commit comments