diff options
| author | Rafael Ávila de Espíndola <[email protected]> | 2011-01-07 17:38:13 -0500 |
|---|---|---|
| committer | Graydon Hoare <[email protected]> | 2011-01-07 15:17:18 -0800 |
| commit | 2fb09eb58569f5a0e5544c6256173d4b6b8ffcf2 (patch) | |
| tree | ae9a24f0e04bf84f69cc61acbb15d1d7b72ceb86 /src/comp/front | |
| parent | Synthesize closure thunks, and pass closure pointer into fn calls. (diff) | |
| download | rust-2fb09eb58569f5a0e5544c6256173d4b6b8ffcf2.tar.xz rust-2fb09eb58569f5a0e5544c6256173d4b6b8ffcf2.zip | |
Add sufficient import support to compile some simple single-crate programs.
This is likely not the final solution. It does repetitive work and doesn't produce
errors for invalid but unused imports. In any case, I think it is a useful step.
Diffstat (limited to 'src/comp/front')
| -rw-r--r-- | src/comp/front/ast.rs | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/comp/front/ast.rs b/src/comp/front/ast.rs index fff7b24c..5dc0c4d2 100644 --- a/src/comp/front/ast.rs +++ b/src/comp/front/ast.rs @@ -36,7 +36,6 @@ tag def { def_ty_arg(def_id); def_binding(def_id); def_use(def_id); - def_import(def_id); } type crate = spanned[crate_]; |