summaryrefslogtreecommitdiffstats
path: root/src/test/rustdoc-js/exact-match.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/rustdoc-js/exact-match.rs')
-rw-r--r--src/test/rustdoc-js/exact-match.rs68
1 files changed, 0 insertions, 68 deletions
diff --git a/src/test/rustdoc-js/exact-match.rs b/src/test/rustdoc-js/exact-match.rs
deleted file mode 100644
index 2eacc0a35..000000000
--- a/src/test/rustdoc-js/exact-match.rs
+++ /dev/null
@@ -1,68 +0,0 @@
-macro_rules! imp {
- ($name:ident) => {
- pub struct $name {
- pub op: usize,
- }
- impl $name {
- pub fn op() {}
- pub fn cmp() {}
- pub fn map() {}
- pub fn pop() {}
- pub fn ptr() {}
- pub fn rpo() {}
- pub fn drop() {}
- pub fn copy() {}
- pub fn zip() {}
- pub fn sup() {}
- pub fn pa() {}
- pub fn pb() {}
- pub fn pc() {}
- pub fn pd() {}
- pub fn pe() {}
- pub fn pf() {}
- pub fn pg() {}
- pub fn ph() {}
- pub fn pi() {}
- pub fn pj() {}
- pub fn pk() {}
- pub fn pl() {}
- pub fn pm() {}
- pub fn pn() {}
- pub fn po() {}
- }
- };
- ($name:ident, $($names:ident),*) => {
- imp!($name);
- imp!($($names),*);
- };
-}
-macro_rules! en {
- ($name:ident) => {
- pub enum $name {
- Ptr,
- Rp,
- Rpo,
- Pt,
- Drop,
- Dr,
- Dro,
- Sup,
- Op,
- Cmp,
- Map,
- Mp,
- }
- };
- ($name:ident, $($names:ident),*) => {
- en!($name);
- en!($($names),*);
- };
-}
-
-imp!(Ot, Foo, Cmp, Map, Loc, Lac, Toc, Si, Sig, Sip, Psy, Psi, Py, Pi, Pa, Pb, Pc, Pd);
-imp!(Pe, Pf, Pg, Ph, Pj, Pk, Pl, Pm, Pn, Po, Pq, Pr, Ps, Pt, Pu, Pv, Pw, Px, Pz, Ap, Bp, Cp);
-imp!(Dp, Ep, Fp, Gp, Hp, Ip, Jp, Kp, Lp, Mp, Np, Op, Pp, Qp, Rp, Sp, Tp, Up, Vp, Wp, Xp, Yp, Zp);
-
-en!(Place, Plac, Plae, Plce, Pace, Scalar, Scalr, Scaar, Sclar, Salar);
-
-pub struct P;