about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorNiko Matsakis <niko@alum.mit.edu>2016-01-06 11:28:53 -0500
committerNiko Matsakis <niko@alum.mit.edu>2016-01-06 11:28:53 -0500
commit876de6e4956e45d4a335b41af953b6cc05c8a36b (patch)
tree926549a4189af05893734457d6ae90c82949dd17 /src
parent0c8ee65020a9d6ef60506741d9db1582dc8f6834 (diff)
downloadrust-876de6e4956e45d4a335b41af953b6cc05c8a36b.tar.gz
rust-876de6e4956e45d4a335b41af953b6cc05c8a36b.zip
Fix tidy errors
Diffstat (limited to 'src')
-rw-r--r--src/librustc_data_structures/veccell/mod.rs10
-rw-r--r--src/test/compile-fail/dep-graph-trait-impl.rs5
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 <LICENSE-APACHE or
+// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
+// <LICENSE-MIT or http://opensource.org/licenses/MIT>, 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() {