Skip to content

Commit

Permalink
Remove related tests
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnTitor committed Jun 8, 2022
1 parent 153f01e commit 40913c6
Show file tree
Hide file tree
Showing 6 changed files with 3 additions and 60 deletions.

This file was deleted.

This file was deleted.

4 changes: 1 addition & 3 deletions src/test/ui/rfc-2093-infer-outlives/dont-infer-static.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
/*
* We don't infer `T: 'static` outlives relationships by default.
* Instead an additional feature gate `infer_static_outlives_requirements`
* is required.
* We don't infer `T: 'static` outlives relationships.
*/

struct Foo<U> {
Expand Down
4 changes: 2 additions & 2 deletions src/test/ui/rfc-2093-infer-outlives/dont-infer-static.stderr
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
error[E0310]: the parameter type `U` may not live long enough
--> $DIR/dont-infer-static.rs:8:10
--> $DIR/dont-infer-static.rs:6:10
|
LL | bar: Bar<U>
| ^^^^^^ ...so that the type `U` will meet its required lifetime bounds...
|
note: ...that is required by this bound
--> $DIR/dont-infer-static.rs:10:15
--> $DIR/dont-infer-static.rs:8:15
|
LL | struct Bar<T: 'static> {
| ^^^^^^^
Expand Down
12 changes: 0 additions & 12 deletions src/test/ui/rfc-2093-infer-outlives/infer-static.rs

This file was deleted.

12 changes: 0 additions & 12 deletions src/test/ui/rfc-2093-infer-outlives/infer-static.stderr

This file was deleted.

0 comments on commit 40913c6

Please sign in to comment.