rust/src/librustc_trans
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
..
back Auto merge of #28505 - apasel422:issue-28448, r=alexcrichton 2015-09-25 02:05:25 +00:00
save Cleanup interfaces of Name, SyntaxContext and Ident 2015-09-24 23:05:02 +03:00
trans Auto merge of #28642 - petrochenkov:name3, r=nrc 2015-09-26 14:48:56 +00:00
diagnostics.rs Add librustc_trans error codes 2015-09-19 17:04:27 +02:00
lib.rs Add librustc_trans error codes 2015-09-19 17:04:27 +02:00
README.txt Make librustc's markdown README.txt claim to be markdown. 2015-03-20 13:29:13 +01:00

See the README.md in ../librustc.