diff --git a/rust-version b/rust-version index 377639882c..bc81038c96 100644 --- a/rust-version +++ b/rust-version @@ -1 +1 @@ -3b382642aba7cffbb2f47829b24635fad87bcf5c +706141b8d9090228343340378b1d4a2b095fa1fb diff --git a/tests/pass/function_pointers.rs b/tests/pass/function_pointers.rs index a5c4bc5e0d..7145be334a 100644 --- a/tests/pass/function_pointers.rs +++ b/tests/pass/function_pointers.rs @@ -1,3 +1,5 @@ +#![allow(unpredictable_function_pointer_comparisons)] + use std::mem; trait Answer { diff --git a/tests/pass/issues/issue-91636.rs b/tests/pass/issues/issue-91636.rs index 0037016581..d0cadcd2c7 100644 --- a/tests/pass/issues/issue-91636.rs +++ b/tests/pass/issues/issue-91636.rs @@ -1,3 +1,5 @@ +#![allow(unpredictable_function_pointer_comparisons)] + type BuiltIn = for<'a> fn(&str); struct Function {