File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed
src/test/codegen-units/partitioning Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -38,6 +38,7 @@ mod mod1 {
38
38
fn do_something_else ( & self , x : T ) -> T { x }
39
39
}
40
40
41
+ //~ MONO_ITEM fn vtable_through_const::mod1[0]::id[0]<i64> @@ vtable_through_const-mod1.volatile[Internal]
41
42
fn id < T > ( x : T ) -> T { x }
42
43
43
44
// These are referenced, so they produce mono-items (see start())
@@ -52,6 +53,8 @@ mod mod1 {
52
53
fn do_something_else ( & self ) { }
53
54
}
54
55
56
+ //~ MONO_ITEM fn vtable_through_const::mod1[0]::Trait2[0]::do_something[0]<u32> @@ vtable_through_const-mod1.volatile[Internal]
57
+ //~ MONO_ITEM fn vtable_through_const::mod1[0]::Trait2[0]::do_something_else[0]<u32> @@ vtable_through_const-mod1.volatile[Internal]
55
58
impl Trait2 for u32 { }
56
59
57
60
pub trait Trait2Gen < T > {
@@ -89,6 +92,8 @@ fn start(_: isize, _: *const *const u8) -> isize {
89
92
// Same as above
90
93
//~ MONO_ITEM fn vtable_through_const::mod1[0]::{{impl}}[1]::do_something[0]<u8> @@ vtable_through_const-mod1.volatile[External]
91
94
//~ MONO_ITEM fn vtable_through_const::mod1[0]::{{impl}}[1]::do_something_else[0]<u8> @@ vtable_through_const-mod1.volatile[External]
95
+ //~ MONO_ITEM fn vtable_through_const::mod1[0]::{{impl}}[3]::do_something[0]<u8> @@ vtable_through_const-mod1.volatile[Internal]
96
+ //~ MONO_ITEM fn vtable_through_const::mod1[0]::{{impl}}[3]::do_something_else[0]<u8> @@ vtable_through_const-mod1.volatile[Internal]
92
97
mod1:: TRAIT1_GEN_REF . do_something ( 0u8 ) ;
93
98
94
99
//~ MONO_ITEM fn vtable_through_const::mod1[0]::id[0]<char> @@ vtable_through_const-mod1.volatile[External]
You can’t perform that action at this time.
0 commit comments