Add unstable type_ascribe
macro
This macro serves as a placeholder for future type ascription syntax to make sure that the semantic implementation keeps working.
This commit is contained in:
parent
2a434286a9
commit
6ee0dd97e3
6 changed files with 76 additions and 0 deletions
|
@ -45,6 +45,7 @@ mod log_syntax;
|
|||
mod source_util;
|
||||
mod test;
|
||||
mod trace_macros;
|
||||
mod type_ascribe;
|
||||
mod util;
|
||||
|
||||
pub mod asm;
|
||||
|
@ -92,6 +93,7 @@ pub fn register_builtin_macros(resolver: &mut dyn ResolverExpand) {
|
|||
unreachable: edition_panic::expand_unreachable,
|
||||
stringify: source_util::expand_stringify,
|
||||
trace_macros: trace_macros::expand_trace_macros,
|
||||
type_ascribe: type_ascribe::expand_type_ascribe,
|
||||
}
|
||||
|
||||
register_attr! {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue