]> git.lizzy.rs Git - rust.git/blob - tests/run-make-fulldeps/stable-symbol-names/stable-symbol-names2.rs
Rollup merge of #103702 - WaffleLapkin:lift-sized-bounds-from-pointer-methods-where...
[rust.git] / tests / run-make-fulldeps / stable-symbol-names / stable-symbol-names2.rs
1 #![crate_type="rlib"]
2
3 extern crate stable_symbol_names1;
4
5 pub fn user() {
6   stable_symbol_names1::generic_function(1u32);
7   stable_symbol_names1::generic_function("def");
8   let x = 2u64;
9   stable_symbol_names1::generic_function(&x);
10   stable_symbol_names1::mono_function();
11   stable_symbol_names1::mono_function_lifetime(&0);
12 }
13
14 pub fn trait_impl_test_function() {
15   use stable_symbol_names1::*;
16   Bar::generic_method::<Bar>();
17 }