blob: b6379c05a8592d306b5c51d0cd7b39f85ae1292e [file] [log] [blame]
// Check that we don't render host effect parameters & arguments.
#![crate_name = "foo"]
#![feature(effects, const_trait_impl)]
#[const_trait]
pub trait Tr {
fn f();
}
// @has foo/fn.g.html
// @has - '//pre[@class="rust item-decl"]' 'pub const fn g<T: Tr>()'
/// foo
pub const fn g<T: ~const Tr>() {}