File tree Expand file tree Collapse file tree 3 files changed +8
-5
lines changed
src/tools/miri/tests/pass Expand file tree Collapse file tree 3 files changed +8
-5
lines changed Original file line number Diff line number Diff line change 1
1
//@normalize-stderr-test: "::<.*>" -> ""
2
2
3
+ #![ allow( function_casts_as_integer) ]
4
+
3
5
#[ inline( never) ]
4
6
fn func_a ( ) -> Box < [ * mut ( ) ] > {
5
7
func_b :: < u8 > ( )
Original file line number Diff line number Diff line change 1
- tests/pass/backtrace/backtrace-api-v1.rs:27 :9 (func_d)
2
- tests/pass/backtrace/backtrace-api-v1.rs:14 :9 (func_c)
3
- tests/pass/backtrace/backtrace-api-v1.rs:9 :5 (func_b::<u8>)
4
- tests/pass/backtrace/backtrace-api-v1.rs:5 :5 (func_a)
5
- tests/pass/backtrace/backtrace-api-v1.rs:34 :18 (main)
1
+ tests/pass/backtrace/backtrace-api-v1.rs:29 :9 (func_d)
2
+ tests/pass/backtrace/backtrace-api-v1.rs:16 :9 (func_c)
3
+ tests/pass/backtrace/backtrace-api-v1.rs:11 :5 (func_b::<u8>)
4
+ tests/pass/backtrace/backtrace-api-v1.rs:7 :5 (func_a)
5
+ tests/pass/backtrace/backtrace-api-v1.rs:36 :18 (main)
Original file line number Diff line number Diff line change 1
1
//@compile-flags: -Zmin-function-alignment=8
2
2
#![ feature( fn_align) ]
3
+ #![ allow( function_casts_as_integer) ]
3
4
4
5
// When a function uses `repr(align(N))`, the function address should be a multiple of `N`.
5
6
You can’t perform that action at this time.
0 commit comments