about summary refs log tree commit diff
path: root/tests/crashes/140729.rs
blob: a436ec58e8e836d1bbd94e05011cabef210c4b40 (plain)
1
2
3
4
5
6
7
8
9
10
11
//@ known-bug: #140729
#![feature(min_generic_const_args)]

const C: usize = 0;
pub struct A<const M: usize> {}
impl A<C> {
    fn fun1() {}
}
impl A {
    fn fun1() {}
}