rust/compiler/rustc_macros/src
Josh Triplett bb6bbfa13f Avoid naming variables str
This renames variables named `str` to other names, to make sure `str`
always refers to a type.

It's confusing to read code where `str` (or another standard type name)
is used as an identifier. It also produces misleading syntax
highlighting.
2025-01-07 14:30:02 +02:00
..
diagnostics Re-export more rustc_span::symbol things from rustc_span. 2024-12-18 13:38:53 +11:00
symbols Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00
current_version.rs Simplify the current_rustc_version macro. 2023-11-10 10:54:21 +11:00
extension.rs Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00
hash_stable.rs Make synstructure underscore_const(true) the default 2024-02-17 13:57:33 +01:00
lib.rs Add a macro that derives TryFrom<u32> for fieldless enums 2024-10-26 20:19:53 +11:00
lift.rs Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00
query.rs Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00
serialize.rs Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00
symbols.rs Avoid naming variables str 2025-01-07 14:30:02 +02:00
try_from.rs Use LLVM-C APIs for getting/setting visibility 2024-10-27 11:05:33 +11:00
type_foldable.rs Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00
type_visitable.rs Add warn(unreachable_pub) to rustc_metadata. 2024-08-29 20:13:06 +10:00