rust/compiler/rustc_span/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
..
analyze_source_file remove redundant closures (clippy::redundant_closure) 2021-01-03 13:34:24 +01:00
lev_distance Improve method name suggestions 2022-04-03 16:38:57 +01:00
source_map Fix #103451, find_width_of_character_at_span return width with 1 when reaching end 2022-10-25 21:16:12 +08:00
symbol Move the Lock into symbol::Interner 2021-09-15 18:46:45 +02:00
analyze_source_file.rs Remove more redundant alls 2022-11-26 09:54:54 +00:00
caching_source_map_view.rs Convert debug_assert to assert in CachingSourceMapView 2021-09-17 12:01:29 -05:00
def_id.rs Prefer not accessing the private field of newtype_index types 2022-11-25 07:51:56 +00:00
edition.rs Create 2024 edition 2022-04-02 02:45:49 -04:00
fatal_error.rs Make fatal DiagnosticBuilder yield never 2022-03-27 22:25:32 -07:00
hygiene.rs Prefer not accessing the private field of newtype_index types 2022-11-25 07:51:56 +00:00
lev_distance.rs Improve method name suggestions 2022-04-03 16:38:57 +01:00
lib.rs Prefer doc comments over //-comments in compiler 2022-11-27 11:19:04 +00:00
profiling.rs extend EventArgRecorder into span-aware SpannedEventArgRecorder 2022-04-22 18:06:21 +02:00
source_map.rs Prefer doc comments over //-comments in compiler 2022-11-27 11:19:04 +00:00
span_encoding.rs Make names more explicit. 2022-08-17 19:20:28 +02:00
symbol.rs Rollup merge of #104614 - Nilstrieb:type-ascribe!, r=TaKO8Ki 2022-12-02 08:28:08 +01:00
tests.rs Lazify SourceFile::lines. 2022-06-01 10:36:39 +10:00