Skip to content

Commit d4b59a5

Browse files
Allow function_casts_as_integer in coretest test
1 parent 575118d commit d4b59a5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

library/coretests/tests/ptr.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -565,6 +565,7 @@ fn ptr_metadata() {
565565

566566
#[test]
567567
fn ptr_metadata_bounds() {
568+
#[allow(unknown_lints, function_casts_as_integer)]
568569
fn metadata_eq_method_address<T: ?Sized>() -> usize {
569570
// The `Metadata` associated type has an `Ord` bound, so this is valid:
570571
<<T as Pointee>::Metadata as PartialEq>::eq as usize

0 commit comments

Comments
 (0)