Skip to content

Commit 72c3797

Browse files
committed
---
yaml --- r: 276123 b: refs/heads/master c: ef69ef8 h: refs/heads/master i: 276121: 1e5eaa8 276119: 706d210
1 parent d73b3ab commit 72c3797

File tree

2 files changed

+1
-7
lines changed

2 files changed

+1
-7
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
refs/heads/master: 522b6ed8a7112064ca6e15ccb49c76fefae8ff71
2+
refs/heads/master: ef69ef81e31b248c0eb5ca6b95ab0f302f49e77c
33
refs/heads/snap-stage3: 235d77457d80b549dad3ac36d94f235208a1eafb
44
refs/heads/try: 49312a405e14a449b98fe0056b12a40ac128be4a
55
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105

trunk/src/librustc/hir/lowering.rs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,6 @@
2929
// are unique). Every new node must have a unique id. Avoid cloning HIR nodes.
3030
// If you do, you must then set the new node's id to a fresh one.
3131
//
32-
// We must also cache gensym'ed Idents to ensure that we get the same Ident
33-
// every time we lower a node with gensym'ed names. One consequence of this is
34-
// that you can only gensym a name once in a lowering (you don't need to worry
35-
// about nested lowering though). That's because we cache based on the name and
36-
// the currently cached node id, which is unique per lowered node.
37-
//
3832
// Spans are used for error messages and for tools to map semantics back to
3933
// source code. It is therefore not as important with spans as ids to be strict
4034
// about use (you can't break the compiler by screwing up a span). Obviously, a

0 commit comments

Comments
 (0)