Skip to content

Commit 32eecee

Browse files
ivarflakstadizagawd
authored andcommitted
Verify that type implements trait in vtable_for. Return None if not.
1 parent e3632e0 commit 32eecee

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

library/coretests/tests/intrinsics.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -198,6 +198,7 @@ fn carrying_mul_add_fallback_i128() {
198198
}
199199

200200
#[test]
201+
#[allow(dead_code)]
201202
fn test_vtable_for() {
202203
#[derive(Debug)]
203204
struct A {}

0 commit comments

Comments
 (0)