mirror of
https://github.com/rust-lang/rust
synced 2024-11-02 11:53:40 +00:00
Fix tidy errors
This commit is contained in:
parent
0c8ee65020
commit
876de6e495
2 changed files with 12 additions and 3 deletions
|
@ -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;
|
||||
|
||||
|
|
|
@ -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() {
|
||||
|
|
Loading…
Reference in a new issue