Skip to content

Commit ef69ef8

Browse files
committed
Remove outdated comment
1 parent 522b6ed commit ef69ef8

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/librustc/hir/lowering.rs

-6
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)