Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
12 lines (7 sloc) 183 Bytes
// build-pass (FIXME(62277): could be check-pass?)
pub const STATIC_TRAIT: &dyn Test = &();
fn main() {}
pub trait Test {
fn test() where Self: Sized {}
}
impl Test for () {}
You can’t perform that action at this time.