Skip to content

Commit 30447e1

Browse files
committed
Remove misleading outdated comment in alias.rs
1 parent 458ac89 commit 30447e1

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/comp/middle/alias.rs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,7 @@ import std::option::is_none;
1919

2020
// This is not an alias-analyser (though it would merit from becoming one, or
2121
// getting input from one, to be more precise). It is a pass that checks
22-
// whether aliases are used in a safe way. Beyond that, though it doesn't have
23-
// a lot to do with aliases, it also checks whether assignments are valid
24-
// (using an lval, which is actually mutable), since it already has all the
25-
// information needed to do that (and the typechecker, which would be a
26-
// logical place for such a check, doesn't).
22+
// whether aliases are used in a safe way.
2723

2824
tag valid { valid; overwritten(span, ast::path); val_taken(span, ast::path); }
2925

0 commit comments

Comments
 (0)