diff options
| author | Marijn Haverbeke <marijnh@gmail.com> | 2011-09-01 22:37:52 +0200 |
|---|---|---|
| committer | Marijn Haverbeke <marijnh@gmail.com> | 2011-09-01 22:37:52 +0200 |
| commit | 30447e10919685c490aa5211bbe0dd3059bc8bb4 (patch) | |
| tree | a90b429a2a0662b56762f80f7ecbb72c4af1a57c /src | |
| parent | 458ac89894bce025553aeda1a9a991e1ca3c05ed (diff) | |
| download | rust-30447e10919685c490aa5211bbe0dd3059bc8bb4.tar.gz rust-30447e10919685c490aa5211bbe0dd3059bc8bb4.zip | |
Remove misleading outdated comment in alias.rs
Diffstat (limited to 'src')
| -rw-r--r-- | src/comp/middle/alias.rs | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/comp/middle/alias.rs b/src/comp/middle/alias.rs index f56d2c64d82..e14bf1d5728 100644 --- a/src/comp/middle/alias.rs +++ b/src/comp/middle/alias.rs @@ -19,11 +19,7 @@ import std::option::is_none; // This is not an alias-analyser (though it would merit from becoming one, or // getting input from one, to be more precise). It is a pass that checks -// whether aliases are used in a safe way. Beyond that, though it doesn't have -// a lot to do with aliases, it also checks whether assignments are valid -// (using an lval, which is actually mutable), since it already has all the -// information needed to do that (and the typechecker, which would be a -// logical place for such a check, doesn't). +// whether aliases are used in a safe way. tag valid { valid; overwritten(span, ast::path); val_taken(span, ast::path); } |
