diff options
| author | Erick Tryzelaar <erick.tryzelaar@gmail.com> | 2012-09-28 23:03:29 -0700 |
|---|---|---|
| committer | Brian Anderson <banderson@mozilla.com> | 2012-09-30 18:10:40 -0700 |
| commit | c71dc77dac5c8d477fc7df86607f98f2ee784f0f (patch) | |
| tree | 2801a2bdb4692f8a27e4e437d725add6e64da688 /src/rustc/lib | |
| parent | c756ec0c5e0dcc6b3e076167459869043a79731a (diff) | |
rustc: uniquely mangle expr_fn names
two closures in the same function body can end up having the same mangled name. This small patch uses gensym to uniquely name each closure body so there won't be conflicts.
Diffstat (limited to 'src/rustc/lib')
0 files changed, 0 insertions, 0 deletions
