rust/compiler/rustc_expand/src
Dylan DPC fa56e01b35
Rollup merge of #111571 - jhpratt:proc-macro-span, r=m-ou-se
Implement proposed API for `proc_macro_span`

As proposed in [#54725 (comment)](https://github.com/rust-lang/rust/issues/54725#issuecomment-1546918161). I have omitted the byte-level API as it's already available as [`Span::byte_range`](https://doc.rust-lang.org/nightly/proc_macro/struct.Span.html#method.byte_range).

`@rustbot` label +A-proc-macros

r? `@m-ou-se`
2023-06-28 18:28:46 +05:30
..
mbe Fix msg passed to span_bug 2023-06-21 16:54:54 +05:30
mut_visit rustc_ast: Turn MutVisitor::token_visiting_enabled into a constant 2021-10-18 00:23:24 +03:00
parse various: translation resources from cg backend 2023-02-22 09:15:54 +00:00
tokenstream Remove TokenStreamBuilder. 2022-10-05 12:42:54 +11:00
base.rs Rollup merge of #112396 - WaffleLapkin:track_more_diagnostics, r=compiler-errors 2023-06-08 10:15:13 +02:00
build.rs Rename ast::Static to ast::StaticItem to match ast::ConstItem 2023-04-04 15:34:40 +00:00
config.rs Simplify some conditions 2023-06-27 07:40:47 +00:00
errors.rs Fix static string lints 2023-04-25 18:59:55 +01:00
expand.rs expand: Change how #![cfg(FALSE)] behaves on crate root 2023-06-10 00:35:21 +03:00
lib.rs Add rustc_fluent_macro to decouple fluent from rustc_macros 2023-04-18 18:56:22 +00:00
mbe.rs Move macro_rules diagnostics to diagnostics module 2022-11-20 13:06:44 +01:00
module.rs Use ThinVec in a few more AST types. 2023-02-21 11:51:56 +11:00
placeholders.rs Rip it out 2023-05-01 16:15:13 +08:00
proc_macro_server.rs Add Span::{line, column} 2023-06-20 19:40:25 -04:00
proc_macro.rs Restrict From<S> for {D,Subd}iagnosticMessage. 2023-05-03 08:44:39 +10:00
tests.rs Spelling - compiler 2023-04-17 16:09:18 -04:00