From 30447e10919685c490aa5211bbe0dd3059bc8bb4 Mon Sep 17 00:00:00 2001 From: Marijn Haverbeke Date: Thu, 1 Sep 2011 22:37:52 +0200 Subject: [PATCH] Remove misleading outdated comment in alias.rs --- src/comp/middle/alias.rs | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/comp/middle/alias.rs b/src/comp/middle/alias.rs index f56d2c64d825..e14bf1d57287 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); }