xref: /aosp_15_r20/external/bazelbuild-rules_rust/test/conflicting_deps/first_crate/lib.rs (revision d4726bddaa87cc4778e7472feed243fa4b6c267f)
1 // This crate's name conflicts with its dependency but this should work OK.
2 
3 extern crate example_name_conflict;
4 
example_conflicting_symbol() -> String5 pub fn example_conflicting_symbol() -> String {
6     format!(
7         "[from first_crate] -> {}",
8         example_name_conflict::example_conflicting_symbol()
9     )
10 }
11