about summary refs log tree commit diff
path: root/tests/ui/associated-type-bounds/consts.rs
blob: 17de1ff568209b0945711a52fd93d1ec57201c8a (plain)
1
2
3
4
5
6
7
8
pub fn accept(_: impl Trait<K: Copy>) {}
//~^ ERROR expected type, found constant

pub trait Trait {
    const K: i32;
}

fn main() {}