From: Ian Jackson Date: Tue, 2 Jun 2026 11:03:31 +0000 (+0100) Subject: not reproing X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ian/git?a=commitdiff_plain;h=2624769dd9e87d4d639aa9321ba672cd46794b99;p=rust-experiments.git not reproing --- diff --git a/src/main.rs b/src/main.rs index 6139344..de51bc4 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,6 +1,17 @@ -const _ : () = { - let _ = std::any::TypeId::of::<()>; -}; +macro_rules! define_broken_link { {} => { + #[macro_export] + macro_rules! broken_link { {} => {} } +} } + +macro_rules! make_broken_reference { {} => { + /// Doc comment + /// + /// [Something](broken_link) + pub type T = (); +} } + +make_broken_reference! {} +define_broken_link! {} fn main(){}