@@ -5,41 +5,44 @@ fn vec_deref_to_slice(_1: &Vec<u8>) -> &[u8] {
5
5
let mut _0 : &[u8];
6
6
scope 1 (inlined <Vec<u8> as Deref>::deref) {
7
7
debug self => _1;
8
- let mut _4 : *const u8;
9
- let mut _5 : usize;
10
- scope 2 (inlined Vec::<u8>::as_ptr) {
8
+ scope 2 (inlined Vec::<u8>::as_slice) {
11
9
debug self => _1;
12
- let mut _2 : &alloc::raw_vec::RawVec<u8>;
13
- scope 3 (inlined alloc::raw_vec::RawVec::<u8>::ptr) {
14
- debug self => _2;
15
- let mut _3 : std::ptr::NonNull<u8>;
16
- scope 4 (inlined Unique::<u8>::as_ptr) {
17
- debug ((self : Unique<u8>).0: std::ptr::NonNull<u8>) => _3;
18
- debug ((self : Unique<u8>).1: std::marker::PhantomData<u8>) => const PhantomData::<u8>;
19
- scope 5 (inlined NonNull::<u8>::as_ptr) {
20
- debug self => _3;
10
+ let mut _4 : *const u8;
11
+ let mut _5 : usize;
12
+ scope 3 (inlined Vec::<u8>::as_ptr) {
13
+ debug self => _1;
14
+ let mut _2 : &alloc::raw_vec::RawVec<u8>;
15
+ scope 4 (inlined alloc::raw_vec::RawVec::<u8>::ptr) {
16
+ debug self => _2;
17
+ let mut _3 : std::ptr::NonNull<u8>;
18
+ scope 5 (inlined Unique::<u8>::as_ptr) {
19
+ debug ((self : Unique<u8>).0: std::ptr::NonNull<u8>) => _3;
20
+ debug ((self : Unique<u8>).1: std::marker::PhantomData<u8>) => const PhantomData::<u8>;
21
+ scope 6 (inlined NonNull::<u8>::as_ptr) {
22
+ debug self => _3;
23
+ }
21
24
}
22
25
}
23
26
}
24
- }
25
- scope 6 (inlined std::slice::from_raw_parts::<'_, u8>) {
26
- debug data => _4;
27
- debug len => _5;
28
- let _6 : *const [u8];
29
- scope 7 (inlined core::ub_checks::check_language_ub) {
30
- scope 8 (inlined core::ub_checks::check_language_ub::runtime) {
31
- }
32
- }
33
- scope 9 (inlined std::mem::size_of::<u8>) {
34
- }
35
- scope 10 (inlined align_of::<u8>) {
36
- }
37
- scope 11 (inlined slice_from_raw_parts::<u8>) {
27
+ scope 7 (inlined std::slice::from_raw_parts::<'_, u8>) {
38
28
debug data => _4;
39
29
debug len => _5;
40
- scope 12 (inlined std::ptr::from_raw_parts::<[u8], u8>) {
41
- debug data_pointer => _4;
42
- debug metadata => _5;
30
+ let _6 : *const [u8];
31
+ scope 8 (inlined core::ub_checks::check_language_ub) {
32
+ scope 9 (inlined core::ub_checks::check_language_ub::runtime) {
33
+ }
34
+ }
35
+ scope 10 (inlined std::mem::size_of::<u8>) {
36
+ }
37
+ scope 11 (inlined align_of::<u8>) {
38
+ }
39
+ scope 12 (inlined slice_from_raw_parts::<u8>) {
40
+ debug data => _4;
41
+ debug len => _5;
42
+ scope 13 (inlined std::ptr::from_raw_parts::<[u8], u8>) {
43
+ debug data_pointer => _4;
44
+ debug metadata => _5;
45
+ }
43
46
}
44
47
}
45
48
}
0 commit comments