Parse and typecheck by-value and by-ref arg specs

Add sprinkle && throughout the compiler to make it typecheck again.

Issue #1008
This commit is contained in:
Marijn Haverbeke 2011-10-06 12:26:12 +02:00
parent 4709038d64
commit f9fbd86f52
32 changed files with 230 additions and 197 deletions

View file

@ -132,7 +132,7 @@ tag unop {
deref; not; neg;
}
tag mode { by_ref; by_mut_ref; by_move; }
tag mode { by_ref; by_val; by_mut_ref; by_move; mode_infer; }
type stmt = spanned<stmt_>;