Skip to content

Commit 5af1d1b

Browse files
author
The Miri Cronjob Bot
committed
Merge from rustc
2 parents 4f5c8c7 + ebf66c6 commit 5af1d1b

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

tests/pass/function_pointers.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
#![allow(unpredictable_function_pointer_comparisons)]
2+
13
use std::mem;
24

35
trait Answer {

tests/pass/issues/issue-91636.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
#![allow(unpredictable_function_pointer_comparisons)]
2+
13
type BuiltIn = for<'a> fn(&str);
24

35
struct Function {

0 commit comments

Comments
 (0)