replace //@ compile-flags: --edition
with //@ edition
This commit is contained in:
parent
97c966bb40
commit
cd371b90e2
108 changed files with 181 additions and 135 deletions
|
@ -1,5 +1,5 @@
|
|||
//@ known-bug: #119095
|
||||
//@ compile-flags: --edition=2021
|
||||
//@ edition: 2021
|
||||
|
||||
fn any<T>() -> T {
|
||||
loop {}
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
//@ known-bug: #120016
|
||||
//@ compile-flags: -Zcrate-attr=feature(const_async_blocks) --edition=2021
|
||||
//@ compile-flags: -Zcrate-attr=feature(const_async_blocks)
|
||||
//@ edition: 2021
|
||||
|
||||
#![feature(type_alias_impl_trait, const_async_blocks)]
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
//@ known-bug: #127033
|
||||
//@ compile-flags: --edition=2021
|
||||
//@ edition: 2021
|
||||
|
||||
pub trait RaftLogStorage {
|
||||
fn save_vote(vote: ()) -> impl std::future::Future + Send;
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
//@ known-bug: rust-lang/rust#128094
|
||||
//@ compile-flags: -Zmir-enable-passes=+GVN --edition=2018
|
||||
//@ compile-flags: -Zmir-enable-passes=+GVN
|
||||
//@ edition: 2018
|
||||
|
||||
pub enum Request {
|
||||
TestSome(T),
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
//@ known-bug: #132103
|
||||
//@compile-flags: -Zvalidate-mir --edition=2018 -Zinline-mir=yes
|
||||
//@ compile-flags: -Zvalidate-mir -Zinline-mir=yes
|
||||
//@ edition: 2018
|
||||
use core::future::{async_drop_in_place, Future};
|
||||
use core::mem::{self};
|
||||
use core::pin::pin;
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
//@ known-bug: #132430
|
||||
|
||||
//@compile-flags: --edition=2018 --crate-type=lib
|
||||
//@ compile-flags: --crate-type=lib
|
||||
//@ edition: 2018
|
||||
#![feature(cmse_nonsecure_entry)]
|
||||
struct Test;
|
||||
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
//@ known-bug: #135128
|
||||
//@ compile-flags: -Copt-level=1 --edition=2021
|
||||
//@ compile-flags: -Copt-level=1
|
||||
//@ edition: 2021
|
||||
|
||||
#![feature(trivial_bounds)]
|
||||
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
//@ known-bug: #135470
|
||||
//@ compile-flags: --edition=2021 -Copt-level=0
|
||||
//@ compile-flags: -Copt-level=0
|
||||
//@ edition: 2021
|
||||
|
||||
use std::future::Future;
|
||||
trait Access {
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
//@ known-bug: #135646
|
||||
//@ compile-flags: --edition=2024 -Zpolonius=next
|
||||
//@ compile-flags: -Zpolonius=next
|
||||
//@ edition: 2024
|
||||
|
||||
fn main() {
|
||||
&{ [1, 2, 3][4] };
|
||||
}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
//@ known-bug: #135668
|
||||
//@ compile-flags: --edition=2021
|
||||
//@ edition: 2021
|
||||
use std::future::Future;
|
||||
|
||||
pub async fn foo() {
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
//@ known-bug: #137467
|
||||
//@ compile-flags: --edition=2021
|
||||
//@ edition: 2021
|
||||
enum Camera {
|
||||
Normal { base_transform: i32 },
|
||||
Volume { transform: i32 },
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
//@ known-bug: #137467
|
||||
//@ compile-flags: --edition=2021
|
||||
//@ edition: 2021
|
||||
|
||||
enum Camera {
|
||||
Normal { base_transform: i32 },
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
//@ known-bug: #137467
|
||||
//@ compile-flags: --edition=2021
|
||||
//@ edition: 2021
|
||||
|
||||
fn meow(x: (u32, u32, u32)) {
|
||||
let f = || {
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
//@ known-bug: #137916
|
||||
//@ compile-flags: --edition=2021
|
||||
//@ edition: 2021
|
||||
use std::ptr::null;
|
||||
|
||||
async fn a() -> Box<dyn Send> {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue