From 6267339d6869a27b95f13c578a235204a1562697 Mon Sep 17 00:00:00 2001 From: Niko Matsakis Date: Tue, 5 Mar 2013 17:49:03 -0500 Subject: Fix bug in coherence that causes all cross-crate impls to be regarded as inherent impls, not just those of the `impl Type` variety. --- src/librustpkg/rustpkg.rc | 1 + src/librustpkg/util.rs | 1 + 2 files changed, 2 insertions(+) (limited to 'src/librustpkg') diff --git a/src/librustpkg/rustpkg.rc b/src/librustpkg/rustpkg.rc index 603480f907c..0f8463b0b3c 100644 --- a/src/librustpkg/rustpkg.rc +++ b/src/librustpkg/rustpkg.rc @@ -35,6 +35,7 @@ use std::net::url; use std::{json, semver, getopts}; use syntax::codemap::spanned; use syntax::{ast, attr, codemap, diagnostic, parse, visit}; +use core::container::Map; mod usage; mod util; diff --git a/src/librustpkg/util.rs b/src/librustpkg/util.rs index d7428ae15e7..7238a934c99 100644 --- a/src/librustpkg/util.rs +++ b/src/librustpkg/util.rs @@ -9,6 +9,7 @@ // except according to those terms. use core::*; +use core::hash::{Hash, HashUtil, Streaming}; use core::hashmap::linear::LinearMap; use rustc::driver::{driver, session}; use rustc::metadata::filesearch; -- cgit 1.4.1-3-g733a5