summaryrefslogtreecommitdiffstats
path: root/src/test/rustdoc/struct-arg-pattern.rs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/test/rustdoc/struct-arg-pattern.rs10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/test/rustdoc/struct-arg-pattern.rs b/src/test/rustdoc/struct-arg-pattern.rs
deleted file mode 100644
index 3c0369e3d..000000000
--- a/src/test/rustdoc/struct-arg-pattern.rs
+++ /dev/null
@@ -1,10 +0,0 @@
-#![crate_name = "foo"]
-
-struct BodyId {
- hir_id: usize,
-}
-
-// @has 'foo/fn.body_owner.html' '//*[@class="rust fn"]' 'pub fn body_owner(_: BodyId)'
-pub fn body_owner(BodyId { hir_id }: BodyId) {
- // ...
-}