//@ normalize-stderr-test: "DefId\(.+?\)" -> "DefId(..)" #![feature(rustc_attrs)] fn bar() { fn foo() { fn baz() { #[rustc_dump_def_parents] || { //~^ ERROR: rustc_dump_def_parents: DefId qux::< { //~^ ERROR: rustc_dump_def_parents: DefId fn inhibits_dump() { qux::< { "hi"; 1 }, >(); } qux::<{ 1 + 1 }>(); //~^ ERROR: rustc_dump_def_parents: DefId 1 }, >(); }; } } } const fn qux() {} fn main() {}