We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 458ac89 commit 30447e1Copy full SHA for 30447e1
src/comp/middle/alias.rs
@@ -19,11 +19,7 @@ import std::option::is_none;
19
20
// This is not an alias-analyser (though it would merit from becoming one, or
21
// 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).
+// whether aliases are used in a safe way.
27
28
tag valid { valid; overwritten(span, ast::path); val_taken(span, ast::path); }
29
0 commit comments