]> git.lizzy.rs Git - rust.git/commitdiff
Fix tidy errors
authorNiko Matsakis <niko@alum.mit.edu>
Wed, 6 Jan 2016 16:28:53 +0000 (11:28 -0500)
committerNiko Matsakis <niko@alum.mit.edu>
Wed, 6 Jan 2016 16:28:53 +0000 (11:28 -0500)
src/librustc_data_structures/veccell/mod.rs
src/test/compile-fail/dep-graph-trait-impl.rs

index 1842d0a4958e33fd5d5ecf41381600246b7f1674..008642d9d6567e329239768b495c2f777039257f 100644 (file)
@@ -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;
 
index 9ad782a0a6369d298bad3f3ac666c34d2d5a342a..da0c77c26d1b071b39a191c8bb252079e7995d06 100644 (file)
@@ -37,8 +37,7 @@ pub fn with_char() {
         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 @@ pub fn with_u32() {
         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() {