Add a test for #2212

This commit is contained in:
topecongiro 2017-11-30 19:37:53 +09:00
parent b8106eb2aa
commit 9f67ad8212

View File

@ -36,3 +36,8 @@ where
default impl Trait for X {}
default unsafe impl Trait for Y {}
pub default unsafe impl Trait for Z {}
// #2212
impl ConstWithDefault {
default const CAN_RECONSTRUCT_QUERY_KEY: bool = false;
}