Skip to content

Commit ebf66c6

Browse files
committed
Auto merge of #133893 - fmease:rollup-11pi6fg, r=fmease
Rollup of 10 pull requests Successful merges: - #118833 (Add lint against function pointer comparisons) - #122161 (Fix suggestion when shorthand `self` has erroneous type) - #133233 (Add context to "const in pattern" errors) - #133761 (Update books) - #133843 (Do not emit empty suggestion) - #133863 (Rename `core_pattern_type` and `core_pattern_types` lib feature gates to `pattern_type_macro`) - #133872 (No need to create placeholders for GAT args in confirm_object_candidate) - #133874 (`fn_sig_for_fn_abi` should return a `ty::FnSig`, no need for a binder) - #133890 (Add a new test ui/incoherent-inherent-impls/no-other-unrelated-errors to check E0116 does not cause unrelated errors) - #133892 (Revert #133817) r? `@ghost` `@rustbot` modify labels: rollup
2 parents b27651f + fde4879 commit ebf66c6

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

tests/pass/function_pointers.rs

+2
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

+2
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)