Skip to content

Commit 7eeb061

Browse files
committed
make pointer_structural_match warn-by-default
1 parent 81ffa2b commit 7eeb061

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

core/src/marker.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -247,6 +247,7 @@ marker_impls! {
247247
///
248248
/// const CFN: Wrap<fn(&())> = Wrap(higher_order);
249249
///
250+
/// #[allow(pointer_structural_match)]
250251
/// fn main() {
251252
/// match CFN {
252253
/// CFN => {}

0 commit comments

Comments
 (0)