rust/compiler/rustc_builtin_macros/src
Matthias Krüger 4fdc3eb176
Rollup merge of #104614 - Nilstrieb:type-ascribe!, r=TaKO8Ki
Add `type_ascribe!` macro as placeholder syntax for type ascription

This makes it still possible to test the internal semantics of type ascription even once the `:`-syntax is removed from the parser. The macro now gets used in a bunch of UI tests that test the semantics and not syntax of type ascription.

I might have forgotten a few tests but this should hopefully be most of them. The remaining ones will certainly be found once type ascription is removed from the parser altogether.

Part of #101728
2022-12-02 08:28:08 +01:00
..
assert rustc_ast_lowering: Stop lowering imports into multiple items 2022-12-01 18:51:20 +03:00
deriving Rollup merge of #105106 - jhpratt:issue-105101, r=TaKO8Ki 2022-12-01 11:59:01 +01:00
format Update doc comments. 2022-09-27 13:31:52 +02:00
format_foreign Use as_deref in compiler (but only where it makes sense) 2022-11-16 21:58:58 +00:00
alloc_error_handler.rs Avoid more MetaItem-to-Attribute conversions. 2022-11-29 18:43:53 +11:00
asm.rs Auto merge of #104507 - WaffleLapkin:asderefsyou, r=wesleywiser 2022-11-24 00:17:35 +00:00
assert.rs Split MacArgs in two. 2022-11-22 09:04:15 +11:00
cfg_accessible.rs Avoid unnecessary MetaItem/Attribute conversions. 2022-11-29 12:08:57 +11:00
cfg_eval.rs Workaround unstable stmt_expr_attributes for method receiver expressions. 2022-10-23 09:27:12 +00:00
cfg.rs Migrate all diagnostics 2022-10-23 10:09:44 +02:00
cmdline_attrs.rs make mk_attr_id part of ParseSess 2022-09-14 08:49:10 +08:00
compile_error.rs check_doc_keyword: don't alloc string for emptiness check 2022-04-08 11:45:57 +03:00
concat_bytes.rs Fix an ICE parsing a malformed literal in concat_bytes!. 2022-11-30 12:19:07 +11:00
concat_idents.rs Remove TreeAndSpacing. 2022-07-29 15:52:15 +10:00
concat.rs Use token::Lit in ast::ExprKind::Lit. 2022-11-16 09:41:28 +11:00
derive.rs Avoid more unnecessary MetaItem/Attribute conversions. 2022-11-29 12:54:45 +11:00
edition_panic.rs Prefer doc comments over //-comments in compiler 2022-11-27 11:19:04 +00:00
env.rs check_doc_keyword: don't alloc string for emptiness check 2022-04-08 11:45:57 +03:00
format_foreign.rs [rustc_builtin_macros] add indices to format_foreign::printf::Substitution::Escape 2021-12-31 12:42:15 -05:00
format.rs Fix format_args capture for macro expanded format strings 2022-09-30 17:40:14 +01:00
global_allocator.rs Avoid more MetaItem-to-Attribute conversions. 2022-11-29 18:43:53 +11:00
lib.rs Add unstable type_ascribe macro 2022-11-19 22:16:42 +01:00
log_syntax.rs mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
proc_macro_harness.rs Avoid more MetaItem-to-Attribute conversions. 2022-11-29 18:43:53 +11:00
source_util.rs Prefer doc comments over //-comments in compiler 2022-11-27 11:19:04 +00:00
standard_library_imports.rs Avoid more MetaItem-to-Attribute conversions. 2022-11-29 18:43:53 +11:00
test_harness.rs Avoid more MetaItem-to-Attribute conversions. 2022-11-29 18:43:53 +11:00
test.rs Avoid more MetaItem-to-Attribute conversions. 2022-11-29 18:43:53 +11:00
trace_macros.rs Remove TreeAndSpacing. 2022-07-29 15:52:15 +10:00
type_ascribe.rs Add unstable type_ascribe macro 2022-11-19 22:16:42 +01:00
util.rs Avoid unnecessary MetaItem/Attribute conversions. 2022-11-29 12:08:57 +11:00