summaryrefslogtreecommitdiffstats
path: root/tests/ui/issues/issue-2063-resource.rs
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-30 03:57:19 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-30 03:57:19 +0000
commita0b8f38ab54ac451646aa00cd5e91b6c76f22a84 (patch)
treefc451898ccaf445814e26b46664d78702178101d /tests/ui/issues/issue-2063-resource.rs
parentAdding debian version 1.71.1+dfsg1-2. (diff)
downloadrustc-a0b8f38ab54ac451646aa00cd5e91b6c76f22a84.tar.xz
rustc-a0b8f38ab54ac451646aa00cd5e91b6c76f22a84.zip
Merging upstream version 1.72.1+dfsg1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'tests/ui/issues/issue-2063-resource.rs')
-rw-r--r--tests/ui/issues/issue-2063-resource.rs14
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() {}