Skip to content

Commit 40913c6

Browse files
committed
Remove related tests
1 parent 153f01e commit 40913c6

6 files changed

+3
-60
lines changed

src/test/ui/feature-gates/feature-gate-infer_static_outlives_requirements.rs

-12
This file was deleted.

src/test/ui/feature-gates/feature-gate-infer_static_outlives_requirements.stderr

-19
This file was deleted.

src/test/ui/rfc-2093-infer-outlives/dont-infer-static.rs

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
/*
2-
* We don't infer `T: 'static` outlives relationships by default.
3-
* Instead an additional feature gate `infer_static_outlives_requirements`
4-
* is required.
2+
* We don't infer `T: 'static` outlives relationships.
53
*/
64

75
struct Foo<U> {

src/test/ui/rfc-2093-infer-outlives/dont-infer-static.stderr

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
error[E0310]: the parameter type `U` may not live long enough
2-
--> $DIR/dont-infer-static.rs:8:10
2+
--> $DIR/dont-infer-static.rs:6:10
33
|
44
LL | bar: Bar<U>
55
| ^^^^^^ ...so that the type `U` will meet its required lifetime bounds...
66
|
77
note: ...that is required by this bound
8-
--> $DIR/dont-infer-static.rs:10:15
8+
--> $DIR/dont-infer-static.rs:8:15
99
|
1010
LL | struct Bar<T: 'static> {
1111
| ^^^^^^^

src/test/ui/rfc-2093-infer-outlives/infer-static.rs

-12
This file was deleted.

src/test/ui/rfc-2093-infer-outlives/infer-static.stderr

-12
This file was deleted.

0 commit comments

Comments
 (0)