未验证 提交 4444defc 编写于 作者: Y Yuki Okushi

Make some tests check-pass

上级 ed76b773
// 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() {}
// 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() {}
// build-pass (FIXME(62277): could be check-pass?)
// check-pass
#![allow(bare_trait_objects)]
......
// build-pass (FIXME(62277): could be check-pass?)
// check-pass
// compile-flags: -Z parse-only
impl <*const u8>::AssocTy {} // OK
......
// build-pass (FIXME(62277): could be check-pass?)
// check-pass
#![allow(bare_trait_objects)]
......
// 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 }
......
// build-pass (FIXME(62277): could be check-pass?)
// check-pass
// aux-build:duplicate.rs
extern crate duplicate;
......
// build-pass (FIXME(62277): could be check-pass?)
// check-pass
// aux-build:underscore-imports.rs
extern crate underscore_imports;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册