From 876de6e4956e45d4a335b41af953b6cc05c8a36b Mon Sep 17 00:00:00 2001 From: Niko Matsakis Date: Wed, 6 Jan 2016 11:28:53 -0500 Subject: [PATCH] Fix tidy errors --- src/librustc_data_structures/veccell/mod.rs | 10 ++++++++++ src/test/compile-fail/dep-graph-trait-impl.rs | 5 ++--- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/src/librustc_data_structures/veccell/mod.rs b/src/librustc_data_structures/veccell/mod.rs index 1842d0a4958..008642d9d65 100644 --- a/src/librustc_data_structures/veccell/mod.rs +++ b/src/librustc_data_structures/veccell/mod.rs @@ -1,3 +1,13 @@ +// Copyright 2012-2014 The Rust Project Developers. See the COPYRIGHT +// file at the top-level directory of this distribution and at +// http://rust-lang.org/COPYRIGHT. +// +// Licensed under the Apache License, Version 2.0 or the MIT license +// , at your +// option. This file may not be copied, modified, or distributed +// except according to those terms. + use std::cell::UnsafeCell; use std::mem; diff --git a/src/test/compile-fail/dep-graph-trait-impl.rs b/src/test/compile-fail/dep-graph-trait-impl.rs index 9ad782a0a63..da0c77c26d1 100644 --- a/src/test/compile-fail/dep-graph-trait-impl.rs +++ b/src/test/compile-fail/dep-graph-trait-impl.rs @@ -37,8 +37,7 @@ mod y { char::method('a'); } - // TODO open an issue on this, problem is that we fail to track - // the tcx fulfillment cache + // FIXME(#30741) tcx fulfillment cache not tracked #[rustc_then_this_would_need(TypeckItemBody)] //~ ERROR no path #[rustc_then_this_would_need(TransCrateItem)] //~ ERROR no path pub fn take_foo_with_char() { @@ -51,7 +50,7 @@ mod y { u32::method(22); } - // TODO same issue as above + // FIXME(#30741) tcx fulfillment cache not tracked #[rustc_then_this_would_need(TypeckItemBody)] //~ ERROR no path #[rustc_then_this_would_need(TransCrateItem)] //~ ERROR no path pub fn take_foo_with_u32() {