Skip to content

Commit 876de6e

Browse files
committed
Fix tidy errors
1 parent 0c8ee65 commit 876de6e

File tree

2 files changed

+12
-3
lines changed

2 files changed

+12
-3
lines changed

src/librustc_data_structures/veccell/mod.rs

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
// Copyright 2012-2014 The Rust Project Developers. See the COPYRIGHT
2+
// file at the top-level directory of this distribution and at
3+
// http://rust-lang.org/COPYRIGHT.
4+
//
5+
// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
6+
// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
7+
// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
8+
// option. This file may not be copied, modified, or distributed
9+
// except according to those terms.
10+
111
use std::cell::UnsafeCell;
212
use std::mem;
313

src/test/compile-fail/dep-graph-trait-impl.rs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,7 @@ mod y {
3737
char::method('a');
3838
}
3939

40-
// TODO open an issue on this, problem is that we fail to track
41-
// the tcx fulfillment cache
40+
// FIXME(#30741) tcx fulfillment cache not tracked
4241
#[rustc_then_this_would_need(TypeckItemBody)] //~ ERROR no path
4342
#[rustc_then_this_would_need(TransCrateItem)] //~ ERROR no path
4443
pub fn take_foo_with_char() {
@@ -51,7 +50,7 @@ mod y {
5150
u32::method(22);
5251
}
5352

54-
// TODO same issue as above
53+
// FIXME(#30741) tcx fulfillment cache not tracked
5554
#[rustc_then_this_would_need(TypeckItemBody)] //~ ERROR no path
5655
#[rustc_then_this_would_need(TransCrateItem)] //~ ERROR no path
5756
pub fn take_foo_with_u32() {

0 commit comments

Comments
 (0)