mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-18 11:34:11 +00:00
17 lines
191 B
Rust
17 lines
191 B
Rust
trait T {
|
|
fn foo(
|
|
<<<<<<< HEAD //~ ERROR encountered diff marker
|
|
x: u8,
|
|
=======
|
|
x: i8,
|
|
>>>>>>> branch
|
|
) {}
|
|
}
|
|
|
|
struct S;
|
|
impl T for S {}
|
|
|
|
fn main() {
|
|
S::foo(42);
|
|
}
|