blob: d300e0b5125dae283885b48e66bb0d56938b952b (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
// 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 () {}
|