diff options
| author | John Clements <clements@racket-lang.org> | 2014-06-30 18:02:14 -0700 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2014-07-03 12:54:51 -0700 |
| commit | e38cb972dcfc0fdab44270257eac3405a39bd996 (patch) | |
| tree | f45affb2ba2b0e35e03f102755103f93063ac9e5 /src/rustllvm/ExecutionEngineWrapper.cpp | |
| parent | cff79ab5633f0900eb71a53ccb924632f7b1090c (diff) | |
| download | rust-e38cb972dcfc0fdab44270257eac3405a39bd996.tar.gz rust-e38cb972dcfc0fdab44270257eac3405a39bd996.zip | |
Simplify PatIdent to contain an Ident rather than a Path
Rationale: for what appear to be historical reasons only, the PatIdent contains a Path rather than an Ident. This means that there are many places in the code where an ident is artificially promoted to a path, and---much more problematically--- a bunch of elements from a path are simply thrown away, which seems like an invitation to some really nasty bugs. This commit replaces the Path in a PatIdent with a SpannedIdent, which just contains an ident and a span.
Diffstat (limited to 'src/rustllvm/ExecutionEngineWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
