Make some tests check-pass
This commit is contained in:
parent
ed76b773b5
commit
4444defc1b
8 changed files with 11 additions and 13 deletions
|
@ -1,10 +1,9 @@
|
|||
// check-pass
|
||||
|
||||
// Tests the default for the unused_features lint
|
||||
|
||||
#![allow(stable_features)]
|
||||
// FIXME(#44232) we should warn that this isn't used.
|
||||
#![feature(rust1)]
|
||||
|
||||
// build-pass (FIXME(62277): could be check-pass?)
|
||||
|
||||
|
||||
fn main() { }
|
||||
fn main() {}
|
||||
|
|
|
@ -1,10 +1,9 @@
|
|||
// check-pass
|
||||
|
||||
#![warn(unused_features)]
|
||||
|
||||
#![allow(stable_features)]
|
||||
// FIXME(#44232) we should warn that this isn't used.
|
||||
#![feature(rust1)]
|
||||
|
||||
// build-pass (FIXME(62277): could be check-pass?)
|
||||
|
||||
|
||||
fn main() {}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// build-pass (FIXME(62277): could be check-pass?)
|
||||
// check-pass
|
||||
|
||||
#![allow(bare_trait_objects)]
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// build-pass (FIXME(62277): could be check-pass?)
|
||||
// check-pass
|
||||
// compile-flags: -Z parse-only
|
||||
|
||||
impl <*const u8>::AssocTy {} // OK
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// build-pass (FIXME(62277): could be check-pass?)
|
||||
// check-pass
|
||||
|
||||
#![allow(bare_trait_objects)]
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Fixes issue where `+` in generics weren't parsed if they were part of a `+=`.
|
||||
|
||||
// build-pass (FIXME(62277): could be check-pass?)
|
||||
// check-pass
|
||||
|
||||
struct Whitespace<T: Clone + = ()> { t: T }
|
||||
struct TokenSplit<T: Clone += ()> { t: T }
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// build-pass (FIXME(62277): could be check-pass?)
|
||||
// check-pass
|
||||
// aux-build:duplicate.rs
|
||||
|
||||
extern crate duplicate;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// build-pass (FIXME(62277): could be check-pass?)
|
||||
// check-pass
|
||||
// aux-build:underscore-imports.rs
|
||||
|
||||
extern crate underscore_imports;
|
||||
|
|
Loading…
Add table
Reference in a new issue