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.
Rollup merge of rust-lang#103048 - Dylan-DPC:rollup-47r62js, r=Dylan-DPC
Rollup of 8 pull requests Successful merges: - rust-lang#102847 (impl AsFd and AsRawFd for io::{Stdin, Stdout, Stderr}, not the sys versions) - rust-lang#102856 (Only test duplicate inherent impl items in a single place) - rust-lang#102914 (Migrate css highlight without change) - rust-lang#102938 (Move some tests to more reasonable directories) - rust-lang#103015 (fix a typo) - rust-lang#103018 (More dupe word typos) - rust-lang#103025 (rustdoc: remove unused CSS `.search-container > *`) - rust-lang#103031 (Suppress irrefutable let patterns lint for prefixes in match guards) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
- Loading branch information
Showing
29 changed files
with
68 additions
and
104 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
8 changes: 4 additions & 4 deletions
8
src/test/ui/associated-item/associated-item-duplicate-names-2.stderr
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 |
---|---|---|
@@ -1,11 +1,11 @@ | ||
error[E0201]: duplicate definitions with name `bar`: | ||
error[E0592]: duplicate definitions with name `bar` | ||
--> $DIR/associated-item-duplicate-names-2.rs:5:5 | ||
| | ||
LL | const bar: bool = true; | ||
| --------------- previous definition of `bar` here | ||
| --------------- other definition for `bar` | ||
LL | fn bar() {} | ||
| ^^^^^^^^ duplicate definition | ||
| ^^^^^^^^ duplicate definitions for `bar` | ||
|
||
error: aborting due to previous error | ||
|
||
For more information about this error, try `rustc --explain E0201`. | ||
For more information about this error, try `rustc --explain E0592`. |
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,11 @@ | ||
error[E0592]: duplicate definitions with name `orange` | ||
--> $DIR/impl-duplicate-methods.rs:5:5 | ||
| | ||
LL | fn orange(&self) {} | ||
| ---------------- other definition for `orange` | ||
LL | fn orange(&self) {} | ||
| ^^^^^^^^^^^^^^^^ duplicate definitions for `orange` | ||
|
||
error: aborting due to previous error | ||
|
||
For more information about this error, try `rustc --explain E0592`. |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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 was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,12 +1,12 @@ | ||
error[E0201]: duplicate definitions with name `bar`: | ||
error[E0592]: duplicate definitions with name `bar` | ||
--> $DIR/issue-4265.rs:10:5 | ||
| | ||
LL | fn bar() { | ||
| -------- previous definition of `bar` here | ||
| -------- other definition for `bar` | ||
... | ||
LL | fn bar() { | ||
| ^^^^^^^^ duplicate definition | ||
| ^^^^^^^^ duplicate definitions for `bar` | ||
|
||
error: aborting due to previous error | ||
|
||
For more information about this error, try `rustc --explain E0201`. | ||
For more information about this error, try `rustc --explain E0592`. |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,11 +1,11 @@ | ||
error[E0201]: duplicate definitions with name `bar`: | ||
error[E0592]: duplicate definitions with name `bar` | ||
--> $DIR/method-macro-backtrace.rs:22:5 | ||
| | ||
LL | fn bar(&self) { } | ||
| ------------- previous definition of `bar` here | ||
| ------------- other definition for `bar` | ||
LL | fn bar(&self) { } | ||
| ^^^^^^^^^^^^^ duplicate definition | ||
| ^^^^^^^^^^^^^ duplicate definitions for `bar` | ||
|
||
error: aborting due to previous error | ||
|
||
For more information about this error, try `rustc --explain E0201`. | ||
For more information about this error, try `rustc --explain E0592`. |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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