]> git.lizzy.rs Git - rust.git/blob - src/test/run-make-fulldeps/stable-symbol-names/stable-symbol-names2.rs
Auto merge of #100251 - compiler-errors:tuple-trait-2, r=jackh726
[rust.git] / src / test / 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 }