We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
function_casts_as_integer
1 parent 4073afa commit e361171Copy full SHA for e361171
library/coretests/tests/ptr.rs
@@ -557,6 +557,7 @@ fn ptr_metadata() {
557
558
#[test]
559
fn ptr_metadata_bounds() {
560
+ #[allow(unknown_lints, function_casts_as_integer)]
561
fn metadata_eq_method_address<T: ?Sized>() -> usize {
562
// The `Metadata` associated type has an `Ord` bound, so this is valid:
563
<<T as Pointee>::Metadata as PartialEq>::eq as usize
0 commit comments