rust/src/libsyntax/ext
bors 2e88c36ebc Auto merge of #28642 - petrochenkov:name3, r=nrc
This PR removes random remaining `Ident`s outside of libsyntax and performs general cleanup
In particular, interfaces of `Name` and `Ident` are tidied up, `Name`s and `Ident`s being small `Copy` aggregates are always passed to functions by value, and `Ident`s are never used as keys in maps, because `Ident` comparisons are tricky.

Although this PR closes https://github.com/rust-lang/rust/issues/6993 there's still work related to it:
- `Name` can be made `NonZero` to compress numerous `Option<Name>`s and `Option<Ident>`s but it requires const unsafe functions.
- Implementation of `PartialEq` on `Ident` should be eliminated and replaced with explicit hygienic, non-hygienic or member-wise comparisons.
- Finally, large parts of AST can potentially be converted to `Name`s in the same way as HIR to clearly separate identifiers used in hygienic and non-hygienic contexts.

r? @nrc
2015-09-26 14:48:56 +00:00
..
deriving Allow tracking issues for lang features. 2015-09-08 11:01:42 +10:00
tt Cleanup interfaces of Name, SyntaxContext and Ident 2015-09-24 23:05:02 +03:00
asm.rs Use ast::AsmDialect's variants qualified, and drop the pointless prefix. 2015-09-21 16:48:25 +02:00
base.rs Cleanup interfaces of Name, SyntaxContext and Ident 2015-09-24 23:05:02 +03:00
build.rs Cleanup interfaces of Name, SyntaxContext and Ident 2015-09-24 23:05:02 +03:00
cfg.rs
concat_idents.rs Allow tracking issues for lang features. 2015-09-08 11:01:42 +10:00
concat.rs Use consistent terminology for byte string literals 2015-09-03 10:54:53 +03:00
env.rs
expand.rs Auto merge of #28642 - petrochenkov:name3, r=nrc 2015-09-26 14:48:56 +00:00
format.rs
log_syntax.rs Allow tracking issues for lang features. 2015-09-08 11:01:42 +10:00
mtwt.rs Cleanup interfaces of Name, SyntaxContext and Ident 2015-09-24 23:05:02 +03:00
pushpop_safe.rs
quote.rs Cleanup interfaces of Name, SyntaxContext and Ident 2015-09-24 23:05:02 +03:00
source_util.rs Use consistent terminology for byte string literals 2015-09-03 10:54:53 +03:00
trace_macros.rs Allow tracking issues for lang features. 2015-09-08 11:01:42 +10:00