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 575118d commit d4b59a5Copy full SHA for d4b59a5
library/coretests/tests/ptr.rs
@@ -565,6 +565,7 @@ fn ptr_metadata() {
565
566
#[test]
567
fn ptr_metadata_bounds() {
568
+ #[allow(unknown_lints, function_casts_as_integer)]
569
fn metadata_eq_method_address<T: ?Sized>() -> usize {
570
// The `Metadata` associated type has an `Ord` bound, so this is valid:
571
<<T as Pointee>::Metadata as PartialEq>::eq as usize
0 commit comments