about summary refs log tree commit diff
path: root/tests/crashes/136063.rs
blob: 078cc59dfa28a7d993ef97188f8fb0e082a4f767 (plain)
1
2
3
4
5
6
//@ known-bug: #136063
#![feature(generic_const_exprs)]
trait A<const B: u8 = X> {}
impl A<1> for bool {}
fn bar(arg : &dyn A<x>) { bar(true) }
pub fn main() {}