about summary refs log tree commit diff
path: root/src/librustc_builtin_macros/format.rs
AgeCommit message (Collapse)AuthorLines
2020-08-30mv compiler to compiler/mark-1155/+0
2020-08-17rust_ast::ast => rustc_astUjjwal Sharma-1/+1
2020-08-08Fix ICE #75307 in `format`Esteban Küber-20/+13
Remove usages of `unwrap` (even when some are safe today).
2020-07-17Remove `ExtCtxt::ident_of`.Nicholas Nethercote-23/+23
It's equivalent to `Ident::from_str_and_span`. The commit also introduces some more static symbols so that `Ident::new` can be used in various places instead of `Ident::from_str_and_span`. The commit also changes `Path::path` from a `&str` to a `Symbol`, which then allows the lifetime annotation to be removed from `Ty`. Also, the use of `Symbol` in `Bounds` removes the need for its lifetime annotation.
2020-07-06Rollup merge of #73953 - JohnTitor:audit-hidden-sugg, r=estebankManish Goregaokar-0/+2
Audit hidden/short code suggestions Should fix #73641. Audit uses of `span_suggestion_short` and `tool_only_span_suggestion` (`span_suggestion_hidden` is already tested with `run-rustfix`). Leave some FIXMEs for futher improvements/fixes. r? @estebank
2020-07-02Audit uses of `tool_only_span_suggestion`Yuki Okushi-0/+2
2020-07-01Update src/librustc_builtin_macros/format.rsDavid Hewitt-1/+1
Apply suggestion from varkor Co-authored-by: varkor <github@varkor.com>
2020-07-01Amend wording of noteDavid Hewitt-1/+1
2020-06-27Improve messaging from PR feedbackDavid Hewitt-9/+5
2020-06-24Add `format_args_capture` featureDavid Hewitt-4/+57
2020-06-02Rename the crates in source codeVadim Petrochenkov-2/+1
2020-05-18Implement asm! in librustc_builtin_macrosAmanieu d'Antras-108/+11
2020-05-08Remove ast::{Ident, Name} reexports.Camille GILLOT-3/+3
2020-04-19Dogfood more or_patterns in the compilerJosh Stone-12/+3
2020-03-09rustc_parse: Use `Token::ident` where possibleVadim Petrochenkov-33/+32
2020-03-06fix various typosMatthias Krüger-1/+1
2020-03-05Use more efficient &&str to String conversion (clippy::inefficient_to_string)Matthias Krüger-1/+1
2020-03-05Use righthand '&' instead of lefthand "ref". (clippy::toplevel_ref_arg)Matthias Krüger-4/+4
2020-03-02use values() or keys() respectively when iterating only over keys or values ↵Matthias Krüger-1/+1
of maps.
2020-03-01Rollup merge of #69580 - matthiaskrgr:map_clone, r=CentrilYuki Okushi-1/+1
use .copied() instead of .map(|x| *x) on iterators
2020-02-29Rename `syntax` to `rustc_ast` in source codeVadim Petrochenkov-4/+4
2020-02-29use .copied() instead of .map(|x| *x) on iteratorsMatthias Krüger-1/+1
2020-02-29Rollup merge of #69551 - matthiaskrgr:len_zero, r=Mark-SimulacrumDylan DPC-1/+1
use is_empty() instead of len() == x to determine if structs are empty.
2020-02-28Rollup merge of #69481 - matthiaskrgr:single_char, r=ecstatic-morseMazdak Farrokhzad-1/+1
use char instead of &str for single char patterns
2020-02-28use is_empty() instead of len() == x to determine if structs are empty.Matthias Krüger-1/+1
2020-02-27use char instead of &str for single char patternsMatthias Krüger-1/+1
2020-02-24parser: `token` -> `normalized_token`, `nonnormalized_token` -> `token`Vadim Petrochenkov-1/+1
2020-01-27don't clone types that are copy, round two.Matthias Krüger-1/+1
2020-01-20Delete unused "next" variants from formatting infrastructureMark Rousskov-12/+1
The formatting infrastructure stopped emitting these a while back, and in removing them we can simplify related code.
2020-01-10nix syntax::errors & prefer rustc_errors over errorsMazdak Farrokhzad-5/+2
2020-01-02Normalize `syntax::symbol` imports.Mazdak Farrokhzad-1/+1
2020-01-01Rename `syntax_pos` to `rustc_span` in source codeVadim Petrochenkov-1/+1
2019-12-30Rename `libsyntax_ext` and `libsyntax_expand` in codeVadim Petrochenkov-1/+1
2019-12-30Rename directories for some crates from `syntax_x` to `rustc_x`Vadim Petrochenkov-0/+1233
`syntax_expand` -> `rustc_expand` `syntax_pos` -> `rustc_span` `syntax_ext` -> `rustc_builtin_macros`