diff options
Diffstat (limited to 'tests/ui/issues/issue-2063-resource.rs')
-rw-r--r-- | tests/ui/issues/issue-2063-resource.rs | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/tests/ui/issues/issue-2063-resource.rs b/tests/ui/issues/issue-2063-resource.rs deleted file mode 100644 index 1d0527447..000000000 --- a/tests/ui/issues/issue-2063-resource.rs +++ /dev/null @@ -1,14 +0,0 @@ -// check-pass -#![allow(dead_code)] -// test that autoderef of a type like this does not -// cause compiler to loop. Note that no instances -// of such a type could ever be constructed. - -struct S { - x: X, - to_str: (), -} - -struct X(Box<S>); - -fn main() {} |