]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-3099.rs
Merge commit '9809f5d21990d9e24b3e9876ea7da756fd4e9def' into libgccjit-codegen
[rust.git] / src / test / ui / issues / issue-3099.rs
1 fn a(x: String) -> String {
2     format!("First function with {}", x)
3 }
4
5 fn a(x: String, y: String) -> String { //~ ERROR the name `a` is defined multiple times
6     format!("Second function with {} and {}", x, y)
7 }
8
9 fn main() {
10     println!("Result: ");
11 }