impl<V> Test<V>
where
- V: Clone, // This comment is NOT removed by formating!
+ V: Clone, // This comment is NOT removed by formatting!
{
pub fn new(value: V) -> Self {
Test {
cloned_value: value.clone(),
- value: value,
+ value,
}
}
}
+impl X<T> /* comment */ {}
+impl Y<T> // comment
+{
+}
+
impl<T> Foo for T
// comment1
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;
+}