blob: d6c90f552a286ef6977a4359cde9bf54d5d4af18 [file] [log] [blame]
// This test ensures that rustdoc doesn't panic on higher-ranked lifetimes
// with bounds, because an error should have already been emitted by rustc.
pub fn hrlt<'b, 'c>()
where
for<'a: 'b + 'c> &'a (): std::fmt::Debug,
//~^ ERROR bounds cannot be used in this context
{
}