mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-18 03:25:55 +00:00
Rollup merge of #62317 - JohnTitor:move-tests-to-build-pass, r=Centril
Migrate `compile-pass` annotations to `build-pass` This is a part of #62277. As a first step, the `compile-pass` tests are migrated to `build-pass`. r? @cramertj cc @Centril
This commit is contained in:
commit
919349701a
@ -5,7 +5,7 @@
|
||||
// revisions:cfail1 cfail2
|
||||
// compile-flags: -Z query-dep-graph
|
||||
// aux-build:point.rs
|
||||
// compile-pass
|
||||
// build-pass (FIXME(62277): could be check-pass?)
|
||||
|
||||
#![feature(rustc_attrs)]
|
||||
#![feature(stmt_expr_attributes)]
|
||||
|
@ -5,7 +5,7 @@
|
||||
|
||||
// revisions:cfail1 cfail2
|
||||
// compile-flags: -Z query-dep-graph
|
||||
// compile-pass
|
||||
// build-pass (FIXME(62277): could be check-pass?)
|
||||
|
||||
#![feature(rustc_attrs)]
|
||||
#![feature(stmt_expr_attributes)]
|
||||
|
@ -3,7 +3,7 @@
|
||||
|
||||
// revisions:cfail1 cfail2
|
||||
// compile-flags: -Z query-dep-graph -Cpanic=unwind
|
||||
// compile-pass
|
||||
// build-pass (FIXME(62277): could be check-pass?)
|
||||
|
||||
#![feature(panic_unwind)]
|
||||
|
||||
|
@ -3,7 +3,7 @@
|
||||
|
||||
// revisions:cfail1 cfail2
|
||||
// compile-flags: -Z query-dep-graph
|
||||
// compile-pass
|
||||
// build-pass (FIXME(62277): could be check-pass?)
|
||||
|
||||
#![feature(rustc_attrs)]
|
||||
#![feature(stmt_expr_attributes)]
|
||||
|
@ -4,7 +4,7 @@
|
||||
// revisions:cfail1 cfail2
|
||||
// compile-flags: -Z query-dep-graph
|
||||
// aux-build:point.rs
|
||||
// compile-pass
|
||||
// build-pass (FIXME(62277): could be check-pass?)
|
||||
|
||||
#![crate_type = "rlib"]
|
||||
#![feature(rustc_attrs)]
|
||||
|
@ -3,7 +3,7 @@
|
||||
|
||||
// revisions:cfail1 cfail2
|
||||
// compile-flags: -Z query-dep-graph
|
||||
// compile-pass
|
||||
// build-pass (FIXME(62277): could be check-pass?)
|
||||
|
||||
#![feature(rustc_attrs)]
|
||||
#![feature(stmt_expr_attributes)]
|
||||
|
@ -4,7 +4,7 @@
|
||||
// revisions:cfail1 cfail2
|
||||
// compile-flags: -Z query-dep-graph
|
||||
// aux-build:point.rs
|
||||
// compile-pass
|
||||
// build-pass (FIXME(62277): could be check-pass?)
|
||||
|
||||
#![crate_type = "rlib"]
|
||||
#![feature(rustc_attrs)]
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
// revisions:cfail1 cfail2
|
||||
// compile-flags: -Z query-dep-graph
|
||||
// compile-pass
|
||||
// build-pass (FIXME(62277): could be check-pass?)
|
||||
|
||||
#![crate_type = "rlib"]
|
||||
#![feature(rustc_attrs)]
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
// revisions:cfail1 cfail2
|
||||
// compile-flags: -Z query-dep-graph
|
||||
// compile-pass
|
||||
// build-pass (FIXME(62277): could be check-pass?)
|
||||
|
||||
#![crate_type = "rlib"]
|
||||
#![feature(rustc_attrs)]
|
||||
|
@ -5,7 +5,7 @@
|
||||
// and make sure that the hash has changed, then change nothing between rev2 and
|
||||
// rev3 and make sure that the hash has not changed.
|
||||
|
||||
// compile-pass
|
||||
// build-pass (FIXME(62277): could be check-pass?)
|
||||
// revisions: cfail1 cfail2 cfail3
|
||||
// compile-flags: -Z query-dep-graph -Zincremental-ignore-spans
|
||||
|
||||
|
@ -5,7 +5,7 @@
|
||||
// and make sure that the hash has changed, then change nothing between rev2 and
|
||||
// rev3 and make sure that the hash has not changed.
|
||||
|
||||
// compile-pass
|
||||
// build-pass (FIXME(62277): could be check-pass?)
|
||||
// revisions: cfail1 cfail2 cfail3
|
||||
// compile-flags: -Z query-dep-graph -Zincremental-ignore-spans
|
||||
|
||||
|
@ -5,7 +5,7 @@
|
||||
// and make sure that the hash has changed, then change nothing between rev2 and
|
||||
// rev3 and make sure that the hash has not changed.
|
||||
|
||||
// compile-pass
|
||||
// build-pass (FIXME(62277): could be check-pass?)
|
||||
// revisions: cfail1 cfail2 cfail3
|
||||
// compile-flags: -Z query-dep-graph -Zincremental-ignore-spans
|
||||
|
||||
|
@ -5,7 +5,7 @@
|
||||
// and make sure that the hash has changed, then change nothing between rev2 and
|
||||
// rev3 and make sure that the hash has not changed.
|
||||
|
||||
// compile-pass
|
||||
// build-pass (FIXME(62277): could be check-pass?)
|
||||
// revisions: cfail1 cfail2 cfail3
|
||||
// compile-flags: -Z query-dep-graph -Zincremental-ignore-spans
|
||||
|
||||
|
@ -10,7 +10,7 @@
|
||||
// results in a change of the ICH for the enum's metadata, and that it stays
|
||||
// the same between rev2 and rev3.
|
||||
|
||||
// compile-pass
|
||||
// build-pass (FIXME(62277): could be check-pass?)
|
||||
// revisions: cfail1 cfail2 cfail3
|
||||
// compile-flags: -Z query-dep-graph -Zincremental-ignore-spans
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
// compile-pass
|
||||
// build-pass (FIXME(62277): could be check-pass?)
|
||||
// revisions: cfail1 cfail2 cfail3
|
||||
// compile-flags: -Z query-dep-graph -Zincremental-ignore-spans
|
||||
|
||||
|
@ -5,7 +5,7 @@
|
||||
// and make sure that the hash has changed, then change nothing between rev2 and
|
||||
// rev3 and make sure that the hash has not changed.
|
||||
|
||||
// compile-pass
|
||||
// build-pass (FIXME(62277): could be check-pass?)
|
||||
// revisions: cfail1 cfail2 cfail3
|
||||
// compile-flags: -Z query-dep-graph -Zincremental-ignore-spans
|
||||
|
||||
|
@ -5,7 +5,7 @@
|
||||
// and make sure that the hash has changed, then change nothing between rev2 and
|
||||
// rev3 and make sure that the hash has not changed.
|
||||
|
||||
// compile-pass
|
||||
// build-pass (FIXME(62277): could be check-pass?)
|
||||
// revisions: cfail1 cfail2 cfail3
|
||||
// compile-flags: -Z query-dep-graph -Zincremental-ignore-spans
|
||||
|
||||
|
@ -5,7 +5,7 @@
|
||||
// and make sure that the hash has changed, then change nothing between rev2 and
|
||||
// rev3 and make sure that the hash has not changed.
|
||||
|
||||
// compile-pass
|
||||
// build-pass (FIXME(62277): could be check-pass?)
|
||||
// revisions: cfail1 cfail2 cfail3
|
||||
// compile-flags: -Z query-dep-graph -Zincremental-ignore-spans
|
||||
|
||||
|
@ -5,7 +5,7 @@
|
||||
// and make sure that the hash has changed, then change nothing between rev2 and
|
||||
// rev3 and make sure that the hash has not changed.
|
||||
|
||||
// compile-pass
|
||||
// build-pass (FIXME(62277): could be check-pass?)
|
||||
// revisions: cfail1 cfail2 cfail3
|
||||
// compile-flags: -Z query-dep-graph -Zincremental-ignore-spans
|
||||
|
||||
|
@ -5,7 +5,7 @@
|
||||
// and make sure that the hash has changed, then change nothing between rev2 and
|
||||
// rev3 and make sure that the hash has not changed.
|
||||
|
||||
// compile-pass
|
||||
// build-pass (FIXME(62277): could be check-pass?)
|
||||
// revisions: cfail1 cfail2 cfail3
|
||||
// compile-flags: -Z query-dep-graph -Zincremental-ignore-spans
|
||||
|
||||
|
@ -5,7 +5,7 @@
|
||||
// and make sure that the hash has changed, then change nothing between rev2 and
|
||||
// rev3 and make sure that the hash has not changed.
|
||||
|
||||
// compile-pass
|
||||
// build-pass (FIXME(62277): could be check-pass?)
|
||||
// revisions: cfail1 cfail2 cfail3
|
||||
// compile-flags: -Z query-dep-graph -Zincremental-ignore-spans
|
||||
|
||||
|
@ -5,7 +5,7 @@
|
||||
// and make sure that the hash has changed, then change nothing between rev2 and
|
||||
// rev3 and make sure that the hash has not changed.
|
||||
|
||||
// compile-pass
|
||||
// build-pass (FIXME(62277): could be check-pass?)
|
||||
// revisions: cfail1 cfail2 cfail3
|
||||
// compile-flags: -Z query-dep-graph -Zincremental-ignore-spans
|
||||
|
||||
|
@ -5,7 +5,7 @@
|
||||
// and make sure that the hash has changed, then change nothing between rev2 and
|
||||
// rev3 and make sure that the hash has not changed.
|
||||
|
||||
// compile-pass
|
||||
// build-pass (FIXME(62277): could be check-pass?)
|
||||
// revisions: cfail1 cfail2 cfail3
|
||||
// compile-flags: -Z query-dep-graph -Zincremental-ignore-spans
|
||||
|
||||
|
@ -5,7 +5,7 @@
|
||||
// and make sure that the hash has changed, then change nothing between rev2 and
|
||||
// rev3 and make sure that the hash has not changed.
|
||||
|
||||
// compile-pass
|
||||
// build-pass (FIXME(62277): could be check-pass?)
|
||||
// revisions: cfail1 cfail2 cfail3
|
||||
// compile-flags: -Z query-dep-graph -Zincremental-ignore-spans
|
||||
|
||||
|
@ -5,7 +5,7 @@
|
||||
// and make sure that the hash has changed, then change nothing between rev2 and
|
||||
// rev3 and make sure that the hash has not changed.
|
||||
|
||||
// compile-pass
|
||||
// build-pass (FIXME(62277): could be check-pass?)
|
||||
// revisions: cfail1 cfail2 cfail3
|
||||
// compile-flags: -Z query-dep-graph -Zincremental-ignore-spans
|
||||
|
||||
|
@ -8,7 +8,7 @@
|
||||
// and make sure that the hash has changed, then change nothing between rev2 and
|
||||
// rev3 and make sure that the hash has not changed.
|
||||
|
||||
// compile-pass
|
||||
// build-pass (FIXME(62277): could be check-pass?)
|
||||
// revisions: cfail1 cfail2 cfail3
|
||||
// compile-flags: -Z query-dep-graph -C debug-assertions
|
||||
|
||||
|
@ -5,7 +5,7 @@
|
||||
// and make sure that the hash has changed, then change nothing between rev2 and
|
||||
// rev3 and make sure that the hash has not changed.
|
||||
|
||||
// compile-pass
|
||||
// build-pass (FIXME(62277): could be check-pass?)
|
||||
// revisions: cfail1 cfail2 cfail3
|
||||
// compile-flags: -Z query-dep-graph -Zincremental-ignore-spans
|
||||
|
||||
|
@ -5,7 +5,7 @@
|
||||
// and make sure that the hash has changed, then change nothing between rev2 and
|
||||
// rev3 and make sure that the hash has not changed.
|
||||
|
||||
// compile-pass
|
||||
// build-pass (FIXME(62277): could be check-pass?)
|
||||
// revisions: cfail1 cfail2 cfail3
|
||||
// compile-flags: -Z query-dep-graph -Zincremental-ignore-spans
|
||||
|
||||
|
@ -10,7 +10,7 @@
|
||||
// results in a change of the ICH for the struct's metadata, and that it stays
|
||||
// the same between rev2 and rev3.
|
||||
|
||||
// compile-pass
|
||||
// build-pass (FIXME(62277): could be check-pass?)
|
||||
// revisions: cfail1 cfail2 cfail3
|
||||
// compile-flags: -Z query-dep-graph -Zincremental-ignore-spans
|
||||
|
||||
|
@ -10,7 +10,7 @@
|
||||
// results in a change of the ICH for the trait's metadata, and that it stays
|
||||
// the same between rev2 and rev3.
|
||||
|
||||
// compile-pass
|
||||
// build-pass (FIXME(62277): could be check-pass?)
|
||||
// revisions: cfail1 cfail2 cfail3
|
||||
// compile-flags: -Z query-dep-graph -Zincremental-ignore-spans
|
||||
|
||||
|
@ -5,7 +5,7 @@
|
||||
// and make sure that the hash has changed, then change nothing between rev2 and
|
||||
// rev3 and make sure that the hash has not changed.
|
||||
|
||||
// compile-pass
|
||||
// build-pass (FIXME(62277): could be check-pass?)
|
||||
// revisions: cfail1 cfail2 cfail3
|
||||
// compile-flags: -Z query-dep-graph -Zincremental-ignore-spans
|
||||
|
||||
|
@ -10,7 +10,7 @@
|
||||
// results in a change of the ICH for the enum's metadata, and that it stays
|
||||
// the same between rev2 and rev3.
|
||||
|
||||
// compile-pass
|
||||
// build-pass (FIXME(62277): could be check-pass?)
|
||||
// revisions: cfail1 cfail2 cfail3
|
||||
// compile-flags: -Z query-dep-graph -Zincremental-ignore-spans
|
||||
|
||||
|
@ -5,7 +5,7 @@
|
||||
// and make sure that the hash has changed, then change nothing between rev2 and
|
||||
// rev3 and make sure that the hash has not changed.
|
||||
|
||||
// compile-pass
|
||||
// build-pass (FIXME(62277): could be check-pass?)
|
||||
// revisions: cfail1 cfail2 cfail3
|
||||
// compile-flags: -Z query-dep-graph -Zincremental-ignore-spans
|
||||
|
||||
|
@ -5,7 +5,7 @@
|
||||
// and make sure that the hash has changed, then change nothing between rev2 and
|
||||
// rev3 and make sure that the hash has not changed.
|
||||
|
||||
// compile-pass
|
||||
// build-pass (FIXME(62277): could be check-pass?)
|
||||
// revisions: cfail1 cfail2 cfail3
|
||||
// compile-flags: -Z query-dep-graph -Zincremental-ignore-spans
|
||||
|
||||
|
@ -5,7 +5,7 @@
|
||||
// and make sure that the hash has changed, then change nothing between rev2 and
|
||||
// rev3 and make sure that the hash has not changed.
|
||||
|
||||
// compile-pass
|
||||
// build-pass (FIXME(62277): could be check-pass?)
|
||||
// revisions: cfail1 cfail2 cfail3
|
||||
// compile-flags: -Z query-dep-graph -Zincremental-ignore-spans
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
// the nested items (or even added new ones).
|
||||
|
||||
// revisions: cfail1 cfail2
|
||||
// compile-pass
|
||||
// build-pass (FIXME(62277): could be check-pass?)
|
||||
|
||||
#![crate_type = "rlib"]
|
||||
#![feature(rustc_attrs)]
|
||||
|
@ -1,6 +1,6 @@
|
||||
// aux-build:incremental_proc_macro_aux.rs
|
||||
// revisions: cfail1 cfail2
|
||||
// compile-pass
|
||||
// build-pass (FIXME(62277): could be check-pass?)
|
||||
|
||||
// This test makes sure that we still find the proc-macro registrar function
|
||||
// when we compile proc-macros incrementally (see #47292).
|
||||
|
@ -8,7 +8,7 @@
|
||||
|
||||
// revisions:cfail1 cfail2 cfail3
|
||||
// compile-flags:-Zquery-dep-graph
|
||||
// compile-pass
|
||||
// build-pass (FIXME(62277): could be check-pass?)
|
||||
|
||||
#![feature(rustc_attrs)]
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
// revisions:cfail1 cfail2 cfail3
|
||||
// compile-flags: -Z query-dep-graph --test
|
||||
// compile-pass
|
||||
// build-pass (FIXME(62277): could be check-pass?)
|
||||
|
||||
#![feature(rustc_attrs)]
|
||||
#![crate_type = "rlib"]
|
||||
|
@ -3,7 +3,7 @@
|
||||
// subsequent runs) if incremental compilation is enabled.
|
||||
|
||||
// revisions: cfail1 cfail2
|
||||
// compile-pass
|
||||
// build-pass (FIXME(62277): could be check-pass?)
|
||||
|
||||
#![feature(on_unimplemented)]
|
||||
#![deny(unused_attributes)]
|
||||
|
@ -4,7 +4,7 @@
|
||||
// enabled.
|
||||
|
||||
// revisions: cfail1 cfail2
|
||||
// compile-pass
|
||||
// build-pass (FIXME(62277): could be check-pass?)
|
||||
|
||||
#![feature(rustc_attrs)]
|
||||
#![deny(unused_attributes)]
|
||||
|
@ -1,6 +1,6 @@
|
||||
// revisions: cfail1 cfail2
|
||||
// compile-flags: -Z query-dep-graph
|
||||
// compile-pass
|
||||
// build-pass (FIXME(62277): could be check-pass?)
|
||||
|
||||
#![allow(warnings)]
|
||||
#![feature(rustc_attrs)]
|
||||
|
@ -1,5 +1,5 @@
|
||||
// revisions: cfail1 cfail2 cfail3
|
||||
// compile-pass
|
||||
// build-pass (FIXME(62277): could be check-pass?)
|
||||
|
||||
// This test case makes sure that we can compile with incremental compilation
|
||||
// enabled when there are macros exported from this crate. (See #37756)
|
||||
|
@ -6,7 +6,7 @@
|
||||
// Note that we specify -g so that the SourceFiles actually get referenced by the
|
||||
// incr. comp. cache:
|
||||
// compile-flags: -Z query-dep-graph -g
|
||||
// compile-pass
|
||||
// build-pass (FIXME(62277): could be check-pass?)
|
||||
|
||||
#![crate_type= "rlib"]
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
// revisions: cfail1 cfail2
|
||||
// compile-flags: -Z query-dep-graph
|
||||
// compile-pass
|
||||
// build-pass (FIXME(62277): could be check-pass?)
|
||||
|
||||
#![allow(warnings)]
|
||||
#![feature(rustc_attrs)]
|
||||
|
@ -4,7 +4,7 @@
|
||||
|
||||
// revisions: cfail1 cfail2 cfail3
|
||||
// compile-flags: -Z query-dep-graph -O
|
||||
// compile-pass
|
||||
// build-pass (FIXME(62277): could be check-pass?)
|
||||
|
||||
#![feature(rustc_attrs)]
|
||||
#![crate_type="rlib"]
|
||||
|
@ -3,7 +3,7 @@
|
||||
|
||||
// revisions: cfail1 cfail2 cfail3
|
||||
// compile-flags: -Z query-dep-graph -O
|
||||
// compile-pass
|
||||
// build-pass (FIXME(62277): could be check-pass?)
|
||||
|
||||
#![feature(rustc_attrs)]
|
||||
#![crate_type="rlib"]
|
||||
|
@ -1,6 +1,6 @@
|
||||
// revisions: cfail1 cfail2 cfail3
|
||||
// compile-flags: -Coverflow-checks=on
|
||||
// compile-pass
|
||||
// build-pass (FIXME(62277): could be check-pass?)
|
||||
|
||||
#![allow(warnings)]
|
||||
#![warn(const_err)]
|
||||
|
@ -1,4 +1,4 @@
|
||||
// compile-pass
|
||||
// build-pass (FIXME(62277): could be check-pass?)
|
||||
// compile-flags:--test
|
||||
// normalize-stdout-test: "src/test/rustdoc-ui" -> "$$DIR"
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
// compile-flags:-Z unstable-options --show-coverage
|
||||
// compile-pass
|
||||
// build-pass (FIXME(62277): could be check-pass?)
|
||||
|
||||
#![feature(extern_types)]
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
// compile-flags:-Z unstable-options --show-coverage
|
||||
// compile-pass
|
||||
// build-pass (FIXME(62277): could be check-pass?)
|
||||
|
||||
// an empty crate still has one item to document: the crate root
|
||||
|
@ -1,5 +1,5 @@
|
||||
// compile-flags:-Z unstable-options --show-coverage
|
||||
// compile-pass
|
||||
// build-pass (FIXME(62277): could be check-pass?)
|
||||
|
||||
//! (remember the crate root is still a module)
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
// compile-flags:-Z unstable-options --show-coverage
|
||||
// compile-pass
|
||||
// build-pass (FIXME(62277): could be check-pass?)
|
||||
|
||||
#![feature(doc_keyword)]
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
// compile-flags:-Z unstable-options --show-coverage --document-private-items
|
||||
// compile-pass
|
||||
// build-pass (FIXME(62277): could be check-pass?)
|
||||
|
||||
#![allow(unused)]
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
// compile-flags:-Z unstable-options --show-coverage
|
||||
// compile-pass
|
||||
// build-pass (FIXME(62277): could be check-pass?)
|
||||
|
||||
//! gotta make sure we can count statics and consts correctly, too
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
// compile-flags:-Z unstable-options --show-coverage
|
||||
// compile-pass
|
||||
// build-pass (FIXME(62277): could be check-pass?)
|
||||
|
||||
#![feature(trait_alias)]
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
// compile-pass
|
||||
// build-pass (FIXME(62277): could be check-pass?)
|
||||
|
||||
#![doc(no_default_passes, passes = "collapse-docs unindent-comments")]
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
// ignore-tidy-cr
|
||||
|
||||
// compile-pass
|
||||
// build-pass (FIXME(62277): could be check-pass?)
|
||||
|
||||
// This file checks the spans of intra-link warnings in a file with CRLF line endings. The
|
||||
// .gitattributes file in this directory should enforce it.
|
||||
|
@ -1,4 +1,4 @@
|
||||
// compile-pass
|
||||
// build-pass (FIXME(62277): could be check-pass?)
|
||||
|
||||
//! Test with [Foo::baz], [Bar::foo], ...
|
||||
//! , [Uniooon::X] and [Qux::Z].
|
||||
|
@ -1,4 +1,4 @@
|
||||
// compile-pass
|
||||
// build-pass (FIXME(62277): could be check-pass?)
|
||||
|
||||
/// ```
|
||||
/// \__________pkt->size___________/ \_result->size_/ \__pkt->size__/
|
||||
|
@ -1,4 +1,4 @@
|
||||
// compile-pass
|
||||
// build-pass (FIXME(62277): could be check-pass?)
|
||||
|
||||
#![deny(private_doc_tests)]
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
// compile-pass
|
||||
// build-pass (FIXME(62277): could be check-pass?)
|
||||
|
||||
pub trait Foo {
|
||||
/**
|
||||
|
@ -1,4 +1,4 @@
|
||||
// compile-pass
|
||||
// build-pass (FIXME(62277): could be check-pass?)
|
||||
|
||||
// This test purpose is to check that unused_imports lint isn't fired
|
||||
// by rustdoc. Why would it? Because when rustdoc is running, it uses
|
||||
|
@ -1,7 +1,7 @@
|
||||
#![warn(anonymous_parameters)]
|
||||
// Test for the anonymous_parameters deprecation lint (RFC 1685)
|
||||
|
||||
// compile-pass
|
||||
// build-pass (FIXME(62277): could be check-pass?)
|
||||
// edition:2015
|
||||
// run-rustfix
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#![warn(anonymous_parameters)]
|
||||
// Test for the anonymous_parameters deprecation lint (RFC 1685)
|
||||
|
||||
// compile-pass
|
||||
// build-pass (FIXME(62277): could be check-pass?)
|
||||
// edition:2015
|
||||
// run-rustfix
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
// compile-pass
|
||||
// build-pass (FIXME(62277): could be check-pass?)
|
||||
|
||||
trait ConstDefault {
|
||||
const DEFAULT: Self;
|
||||
|
@ -1,4 +1,4 @@
|
||||
// compile-pass
|
||||
// build-pass (FIXME(62277): could be check-pass?)
|
||||
|
||||
#![feature(associated_type_bounds)]
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
// compile-pass
|
||||
// build-pass (FIXME(62277): could be check-pass?)
|
||||
|
||||
#![feature(associated_type_bounds)]
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
// compile-pass
|
||||
// build-pass (FIXME(62277): could be check-pass?)
|
||||
|
||||
#![feature(associated_type_bounds)]
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
// compile-pass
|
||||
// build-pass (FIXME(62277): could be check-pass?)
|
||||
// edition:2018
|
||||
// compile-flags: --crate-type lib
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
// compile-pass
|
||||
// build-pass (FIXME(62277): could be check-pass?)
|
||||
// edition:2018
|
||||
|
||||
#![feature(async_await, await_macro)]
|
||||
|
@ -1,4 +1,4 @@
|
||||
// compile-pass
|
||||
// build-pass (FIXME(62277): could be check-pass?)
|
||||
// edition:2018
|
||||
|
||||
#![feature(async_await, await_macro)]
|
||||
|
@ -1,4 +1,4 @@
|
||||
// compile-pass
|
||||
// build-pass (FIXME(62277): could be check-pass?)
|
||||
// edition:2018
|
||||
// compile-flags: --crate-type lib
|
||||
|
||||
|
@ -3,7 +3,7 @@
|
||||
// while those two fields were at the same offset (which is impossible).
|
||||
// That is, memory ordering of `(X, ())`, but offsets of `((), X)`.
|
||||
|
||||
// compile-pass
|
||||
// build-pass (FIXME(62277): could be check-pass?)
|
||||
// edition:2018
|
||||
|
||||
#![feature(async_await)]
|
||||
|
@ -1,4 +1,4 @@
|
||||
// compile-pass
|
||||
// build-pass (FIXME(62277): could be check-pass?)
|
||||
// edition:2018
|
||||
|
||||
#![feature(arbitrary_self_types, async_await, await_macro)]
|
||||
|
@ -1,4 +1,4 @@
|
||||
// compile-pass
|
||||
// build-pass (FIXME(62277): could be check-pass?)
|
||||
// edition:2018
|
||||
|
||||
#![feature(async_await, await_macro)]
|
||||
|
@ -1,4 +1,4 @@
|
||||
// compile-pass
|
||||
// build-pass (FIXME(62277): could be check-pass?)
|
||||
// edition:2018
|
||||
|
||||
#![feature(async_await, await_macro)]
|
||||
|
@ -1,4 +1,4 @@
|
||||
// compile-pass
|
||||
// build-pass (FIXME(62277): could be check-pass?)
|
||||
// edition:2018
|
||||
|
||||
#![feature(async_await, await_macro)]
|
||||
|
@ -1,4 +1,4 @@
|
||||
// compile-pass
|
||||
// build-pass (FIXME(62277): could be check-pass?)
|
||||
// edition:2018
|
||||
|
||||
#![feature(async_await, await_macro)]
|
||||
|
@ -1,4 +1,4 @@
|
||||
// compile-pass
|
||||
// build-pass (FIXME(62277): could be check-pass?)
|
||||
// edition:2018
|
||||
|
||||
#![feature(async_await)]
|
||||
|
@ -1,6 +1,6 @@
|
||||
// Test that existential types are allowed to contain late-bound regions.
|
||||
|
||||
// compile-pass
|
||||
// build-pass (FIXME(62277): could be check-pass?)
|
||||
// edition:2018
|
||||
|
||||
#![feature(async_await, existential_type)]
|
||||
|
@ -1,5 +1,5 @@
|
||||
// aux-build:issue-60674.rs
|
||||
// compile-pass
|
||||
// build-pass (FIXME(62277): could be check-pass?)
|
||||
// edition:2018
|
||||
#![feature(async_await)]
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
// compile-pass
|
||||
// build-pass (FIXME(62277): could be check-pass?)
|
||||
// edition:2018
|
||||
//
|
||||
// Tests that we properly handle StorageDead/StorageLives for temporaries
|
||||
|
@ -1,4 +1,4 @@
|
||||
// compile-pass
|
||||
// build-pass (FIXME(62277): could be check-pass?)
|
||||
// pretty-expanded FIXME #23616
|
||||
|
||||
#![feature(rustc_attrs)]
|
||||
|
@ -1,4 +1,4 @@
|
||||
// compile-pass
|
||||
// build-pass (FIXME(62277): could be check-pass?)
|
||||
// pretty-expanded FIXME #23616
|
||||
|
||||
#![feature(rustc_attrs)]
|
||||
|
@ -1,4 +1,4 @@
|
||||
// compile-pass
|
||||
// build-pass (FIXME(62277): could be check-pass?)
|
||||
// pretty-expanded FIXME #23616
|
||||
|
||||
#![feature(rustc_attrs)]
|
||||
|
@ -1,4 +1,4 @@
|
||||
// compile-pass
|
||||
// build-pass (FIXME(62277): could be check-pass?)
|
||||
// pp-exact - Make sure we actually print the attributes
|
||||
|
||||
#![feature(rustc_attrs)]
|
||||
|
@ -1,4 +1,4 @@
|
||||
// compile-pass
|
||||
// build-pass (FIXME(62277): could be check-pass?)
|
||||
|
||||
#![feature(rustc_attrs)]
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
// for completeness since .rs files linked from .rc files support this
|
||||
// notation to specify their module's attributes
|
||||
|
||||
// compile-pass
|
||||
// build-pass (FIXME(62277): could be check-pass?)
|
||||
|
||||
#![feature(rustc_attrs)]
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
// compile-pass
|
||||
// build-pass (FIXME(62277): could be check-pass?)
|
||||
// pp-exact - Make sure we print all the attributes
|
||||
// pretty-expanded FIXME #23616
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
// compile-pass
|
||||
// build-pass (FIXME(62277): could be check-pass?)
|
||||
// pp-exact - Make sure we actually print the attributes
|
||||
// pretty-expanded FIXME #23616
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
// compile-pass
|
||||
// build-pass (FIXME(62277): could be check-pass?)
|
||||
|
||||
// Bastion of the Turbofish
|
||||
// ------------------------
|
||||
|
@ -1,4 +1,4 @@
|
||||
// compile-pass
|
||||
// build-pass (FIXME(62277): could be check-pass?)
|
||||
|
||||
// rust-lang/rust#55552: The strategy pnkfelix landed in PR #55274
|
||||
// (for ensuring that NLL respects user-provided lifetime annotations)
|
||||
|
@ -1,4 +1,4 @@
|
||||
// compile-pass
|
||||
// build-pass (FIXME(62277): could be check-pass?)
|
||||
|
||||
#![feature(exclusive_range_pattern)]
|
||||
#![warn(unreachable_patterns)]
|
||||
|
@ -1,4 +1,4 @@
|
||||
// compile-pass
|
||||
// build-pass (FIXME(62277): could be check-pass?)
|
||||
|
||||
#![allow(warnings)]
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
// compile-pass
|
||||
// build-pass (FIXME(62277): could be check-pass?)
|
||||
|
||||
fn with_closure<F, A>(_: F)
|
||||
where F: FnOnce(A, &u32)
|
||||
|
@ -1,4 +1,4 @@
|
||||
// compile-pass
|
||||
// build-pass (FIXME(62277): could be check-pass?)
|
||||
|
||||
fn with_closure<F, A>(_: F)
|
||||
where F: FnOnce(A, &u32)
|
||||
|
@ -1,4 +1,4 @@
|
||||
// compile-pass
|
||||
// build-pass (FIXME(62277): could be check-pass?)
|
||||
|
||||
fn test<F: Fn(&u64, &u64)>(f: F) {}
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
// compile-pass
|
||||
// build-pass (FIXME(62277): could be check-pass?)
|
||||
|
||||
#![allow(const_err)]
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
// compile-pass
|
||||
// build-pass (FIXME(62277): could be check-pass?)
|
||||
|
||||
fn main() {
|
||||
let s = "ZͨA͑ͦ͒͋ͤ͑̚L̄͑͋Ĝͨͥ̿͒̽̈́Oͥ͛ͭ!̏"; while true { break; }
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user