Skip to content

Commit b7191b3

Browse files
committed
Remove explicit -Zborrowck=mir which does not affect test anymore
1 parent 7df32f4 commit b7191b3

File tree

4 files changed

+2
-6
lines changed

4 files changed

+2
-6
lines changed

src/test/ui/impl-trait/multiple-lifetimes/error-handling-2.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
// compile-flags:-Zborrowck=mir
2-
31
#![feature(type_alias_impl_trait)]
42

53
#[derive(Clone)]

src/test/ui/impl-trait/multiple-lifetimes/error-handling-2.stderr

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

src/test/ui/impl-trait/multiple-lifetimes/error-handling.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
// compile-flags:-Zborrowck=mir
2-
31
#![feature(type_alias_impl_trait)]
42

53
#[derive(Clone)]

src/test/ui/impl-trait/multiple-lifetimes/error-handling.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
error: lifetime may not live long enough
2-
--> $DIR/error-handling.rs:22:16
2+
--> $DIR/error-handling.rs:20:16
33
|
44
LL | fn foo<'a, 'b, 'c>(x: &'static i32, mut y: &'a i32) -> E<'b, 'c> {
55
| -- -- lifetime `'b` defined here

0 commit comments

Comments
 (0)