From fc8e1cb646afe5749ff793b347a5bf2d334ff34f Mon Sep 17 00:00:00 2001 From: Niko Matsakis Date: Wed, 16 May 2012 06:16:55 -0700 Subject: [PATCH] missing import --- src/libcore/core.rc | 2 +- src/rustc/middle/typeck/regionck.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/libcore/core.rc b/src/libcore/core.rc index 13f210433aa..87d0c57f09d 100644 --- a/src/libcore/core.rc +++ b/src/libcore/core.rc @@ -13,7 +13,7 @@ built-in types and runtime services, or that is used in nearly every non-trivial program. `core` includes modules corresponding to each of the integer types, each of -the floating point types, the `bool` type, tuples, characters, strings, +THE floating point types, the `bool` type, tuples, characters, strings, vectors (`vec`), shared boxes (`box`), and unsafe pointers (`ptr`). Additionally, `core` provides very commonly used built-in types and operations, concurrency primitives, platform abstractions, I/O, and complete diff --git a/src/rustc/middle/typeck/regionck.rs b/src/rustc/middle/typeck/regionck.rs index 05ff109a0db..bd592d25de0 100644 --- a/src/rustc/middle/typeck/regionck.rs +++ b/src/rustc/middle/typeck/regionck.rs @@ -15,7 +15,7 @@ the region scope `r`. import util::ppaux; import syntax::print::pprust; -import check::{fn_ctxt, methods}; +import check::{fn_ctxt, methods, lookup_def}; type rcx = @{fcx: @fn_ctxt, mut errors_reported: uint}; type rvt = visit::vt;