Skip to content

Commit 69de8fb

Browse files
Revert "Update newly failing UI tests"
This reverts commit 9c46173.
1 parent 8b80bc1 commit 69de8fb

4 files changed

+7
-34
lines changed

tests/rustdoc-ui/infinite-recursive-type-impl-trait-return.rs

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
1+
// check-pass
12
// normalize-stderr-test: "`.*`" -> "`DEF_ID`"
23
// normalize-stdout-test: "`.*`" -> "`DEF_ID`"
34
// edition:2018
45

56
pub async fn f() -> impl std::fmt::Debug {
7+
// rustdoc doesn't care that this is infinitely sized
68
#[derive(Debug)]
7-
enum E { //~ ERROR
9+
enum E {
810
This(E),
911
Unit,
1012
}

tests/rustdoc-ui/infinite-recursive-type-impl-trait-return.stderr

-16
This file was deleted.

tests/rustdoc-ui/infinite-recursive-type-impl-trait.rs

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
1+
// check-pass
2+
13
fn f() -> impl Sized {
2-
enum E { //~ ERROR
4+
// rustdoc doesn't care that this is infinitely sized
5+
enum E {
36
V(E),
47
}
58
unimplemented!()

tests/rustdoc-ui/infinite-recursive-type-impl-trait.stderr

-16
This file was deleted.

0 commit comments

Comments
 (0)