forked from rust-lang/rust
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Partly address rust-lang#32059.
- Loading branch information
Showing
15 changed files
with
229 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
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); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
error: encountered diff marker | ||
--> $DIR/fn-arg.rs:3:1 | ||
| | ||
LL | <<<<<<< HEAD | ||
| ^^^^^^^ start | ||
LL | x: u8, | ||
LL | ======= | ||
| ^^^^^^^ middle | ||
LL | x: i8, | ||
LL | >>>>>>> branch | ||
| ^^^^^^^ end | ||
|
||
error: aborting due to previous error | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
#[attribute] | ||
<<<<<<< HEAD //~ ERROR encountered diff marker | ||
fn foo() {} | ||
======= | ||
fn bar() {} | ||
>>>>>>> branch | ||
|
||
fn main() { | ||
foo(); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
error: encountered diff marker | ||
--> $DIR/item-with-attr.rs:2:1 | ||
| | ||
LL | <<<<<<< HEAD | ||
| ^^^^^^^ start | ||
LL | fn foo() {} | ||
LL | ======= | ||
| ^^^^^^^ middle | ||
LL | fn bar() {} | ||
LL | >>>>>>> branch | ||
| ^^^^^^^ end | ||
|
||
error: aborting due to previous error | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
<<<<<<< HEAD //~ ERROR encountered diff marker | ||
fn foo() {} | ||
======= | ||
fn bar() {} | ||
>>>>>>> branch | ||
|
||
fn main() { | ||
foo(); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
error: encountered diff marker | ||
--> $DIR/item.rs:1:1 | ||
| | ||
LL | <<<<<<< HEAD | ||
| ^^^^^^^ start | ||
LL | fn foo() {} | ||
LL | ======= | ||
| ^^^^^^^ middle | ||
LL | fn bar() {} | ||
LL | >>>>>>> branch | ||
| ^^^^^^^ end | ||
|
||
error: aborting due to previous error | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
trait T { | ||
fn foo() {} | ||
fn bar() {} | ||
} | ||
|
||
struct S; | ||
impl T for S {} | ||
|
||
fn main() { | ||
<<<<<<< HEAD //~ ERROR encountered diff marker | ||
S::foo(); | ||
======= | ||
S::bar(); | ||
>>>>>>> branch | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
error: encountered diff marker | ||
--> $DIR/statement.rs:10:1 | ||
| | ||
LL | <<<<<<< HEAD | ||
| ^^^^^^^ start | ||
LL | S::foo(); | ||
LL | ======= | ||
| ^^^^^^^ middle | ||
LL | S::bar(); | ||
LL | >>>>>>> branch | ||
| ^^^^^^^ end | ||
|
||
error: aborting due to previous error | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
trait T { | ||
<<<<<<< HEAD //~ ERROR encountered diff marker | ||
fn foo() {} | ||
======= | ||
fn bar() {} | ||
>>>>>>> branch | ||
} | ||
|
||
struct S; | ||
impl T for S {} | ||
|
||
fn main() { | ||
S::foo(); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
error: encountered diff marker | ||
--> $DIR/trait-item.rs:2:1 | ||
| | ||
LL | <<<<<<< HEAD | ||
| ^^^^^^^ start | ||
LL | fn foo() {} | ||
LL | ======= | ||
| ^^^^^^^ middle | ||
LL | fn bar() {} | ||
LL | >>>>>>> branch | ||
| ^^^^^^^ end | ||
|
||
error: aborting due to previous error | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
use foo::{ | ||
<<<<<<< HEAD //~ ERROR encountered diff marker | ||
bar, | ||
======= | ||
baz, | ||
>>>>>>> branch | ||
}; | ||
|
||
fn main() {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
error: encountered diff marker | ||
--> $DIR/use-statement.rs:2:1 | ||
| | ||
LL | <<<<<<< HEAD | ||
| ^^^^^^^ start | ||
LL | bar, | ||
LL | ======= | ||
| ^^^^^^^ middle | ||
LL | baz, | ||
LL | >>>>>>> branch | ||
| ^^^^^^^ end | ||
|
||
error: aborting due to previous error | ||
|