Remove explicit -Zborrowck=mir which does not affect test anymore

This commit is contained in:
Oli Scherer 2021-10-05 12:35:24 +00:00
parent 56e79e6ce2
commit be399635a2
4 changed files with 2 additions and 6 deletions

View file

@ -1,5 +1,3 @@
// compile-flags:-Zborrowck=mir
#![feature(type_alias_impl_trait)]
#[derive(Clone)]

View file

@ -1,5 +1,5 @@
error[E0700]: hidden type for `impl Trait` captures lifetime that does not appear in bounds
--> $DIR/error-handling-2.rs:12:60
--> $DIR/error-handling-2.rs:10:60
|
LL | fn foo<'a: 'b, 'b, 'c>(x: &'static i32, mut y: &'a i32) -> E<'b, 'c> {
| -- ^^^^^^^^^

View file

@ -1,5 +1,3 @@
// compile-flags:-Zborrowck=mir
#![feature(type_alias_impl_trait)]
#[derive(Clone)]

View file

@ -1,5 +1,5 @@
error: lifetime may not live long enough
--> $DIR/error-handling.rs:22:16
--> $DIR/error-handling.rs:20:16
|
LL | fn foo<'a, 'b, 'c>(x: &'static i32, mut y: &'a i32) -> E<'b, 'c> {
| -- -- lifetime `'b` defined here