|
19 | 19 | 18| 2| println!("used_only_from_bin_crate_generic_function with {:?}", arg);
|
20 | 20 | 19| 2|}
|
21 | 21 | ------------------
|
22 |
| - | used_crate::used_only_from_bin_crate_generic_function::<&str>: |
| 22 | + | Unexecuted instantiation: used_crate::used_only_from_bin_crate_generic_function::<_> |
| 23 | + ------------------ |
| 24 | + | used_crate::used_only_from_bin_crate_generic_function::<&alloc::vec::Vec<i32>>: |
23 | 25 | | 17| 1|pub fn used_only_from_bin_crate_generic_function<T: Debug>(arg: T) {
|
24 | 26 | | 18| 1| println!("used_only_from_bin_crate_generic_function with {:?}", arg);
|
25 | 27 | | 19| 1|}
|
26 | 28 | ------------------
|
27 |
| - | used_crate::used_only_from_bin_crate_generic_function::<&alloc::vec::Vec<i32>>: |
| 29 | + | used_crate::used_only_from_bin_crate_generic_function::<&str>: |
28 | 30 | | 17| 1|pub fn used_only_from_bin_crate_generic_function<T: Debug>(arg: T) {
|
29 | 31 | | 18| 1| println!("used_only_from_bin_crate_generic_function with {:?}", arg);
|
30 | 32 | | 19| 1|}
|
31 |
| - ------------------ |
32 |
| - | Unexecuted instantiation: used_crate::used_only_from_bin_crate_generic_function::<_> |
33 | 33 | ------------------
|
34 | 34 | 20| |// Expect for above function: `Unexecuted instantiation` (see below)
|
35 | 35 | 21| 2|pub fn used_only_from_this_lib_crate_generic_function<T: Debug>(arg: T) {
|
36 | 36 | 22| 2| println!("used_only_from_this_lib_crate_generic_function with {:?}", arg);
|
37 | 37 | 23| 2|}
|
38 | 38 | ------------------
|
39 |
| - | used_crate::used_only_from_this_lib_crate_generic_function::<alloc::vec::Vec<i32>>: |
| 39 | + | used_crate::used_only_from_this_lib_crate_generic_function::<&str>: |
40 | 40 | | 21| 1|pub fn used_only_from_this_lib_crate_generic_function<T: Debug>(arg: T) {
|
41 | 41 | | 22| 1| println!("used_only_from_this_lib_crate_generic_function with {:?}", arg);
|
42 | 42 | | 23| 1|}
|
43 | 43 | ------------------
|
44 |
| - | used_crate::used_only_from_this_lib_crate_generic_function::<&str>: |
| 44 | + | used_crate::used_only_from_this_lib_crate_generic_function::<alloc::vec::Vec<i32>>: |
45 | 45 | | 21| 1|pub fn used_only_from_this_lib_crate_generic_function<T: Debug>(arg: T) {
|
46 | 46 | | 22| 1| println!("used_only_from_this_lib_crate_generic_function with {:?}", arg);
|
47 | 47 | | 23| 1|}
|
|
51 | 51 | 26| 2| println!("used_from_bin_crate_and_lib_crate_generic_function with {:?}", arg);
|
52 | 52 | 27| 2|}
|
53 | 53 | ------------------
|
54 |
| - | used_crate::used_from_bin_crate_and_lib_crate_generic_function::<alloc::vec::Vec<i32>>: |
| 54 | + | used_crate::used_from_bin_crate_and_lib_crate_generic_function::<&str>: |
55 | 55 | | 25| 1|pub fn used_from_bin_crate_and_lib_crate_generic_function<T: Debug>(arg: T) {
|
56 | 56 | | 26| 1| println!("used_from_bin_crate_and_lib_crate_generic_function with {:?}", arg);
|
57 | 57 | | 27| 1|}
|
58 | 58 | ------------------
|
59 |
| - | used_crate::used_from_bin_crate_and_lib_crate_generic_function::<&str>: |
| 59 | + | used_crate::used_from_bin_crate_and_lib_crate_generic_function::<alloc::vec::Vec<i32>>: |
60 | 60 | | 25| 1|pub fn used_from_bin_crate_and_lib_crate_generic_function<T: Debug>(arg: T) {
|
61 | 61 | | 26| 1| println!("used_from_bin_crate_and_lib_crate_generic_function with {:?}", arg);
|
62 | 62 | | 27| 1|}
|
|
0 commit comments