rust/compiler/rustc_middle/src
Aaron Hill b9b2546417
Unconditionally capture tokens for attributes.
This allows us to avoid synthesizing tokens in `prepend_attr`, since we
have the original tokens available.

We still need to synthesize tokens when expanding `cfg_attr`,
but this is an unavoidable consequence of the syntax of `cfg_attr` -
the user does not supply the `#` and `[]` tokens that a `cfg_attr`
expands to.
2020-10-21 18:57:29 -04:00
..
dep_graph mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
hir Replace unnecessary map_or_else with map_or 2020-10-18 11:01:09 +02:00
ich Unconditionally capture tokens for attributes. 2020-10-21 18:57:29 -04:00
infer use relevant span when unifying ConstVarValues 2020-09-23 11:00:44 +02:00
middle Calculate visibilities once in resolve 2020-10-19 11:57:50 +03:00
mir Rollup merge of #78101 - RalfJung:foreign-static, r=oli-obk 2020-10-21 13:59:43 +09:00
query Calculate visibilities once in resolve 2020-10-19 11:57:50 +03:00
traits review comments 2020-10-20 09:26:15 -07:00
ty Auto merge of #78077 - petrochenkov:qvis, r=davidtwco 2020-10-21 20:23:26 +00:00
util Remove unused #[allow(...)] statements from compiler/ 2020-09-26 01:25:55 +02:00
arena.rs mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
lib.rs /nightly/nightly-rustc 2020-09-23 21:51:56 +02:00
lint.rs Prevent forbid from being ignored if overriden at the same level. 2020-10-04 13:14:01 -04:00
macros.rs mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
tests.rs mv compiler to compiler/ 2020-08-30 18:45:07 +03:00