forked from rust-lang/rust
-
Notifications
You must be signed in to change notification settings - Fork 6
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#126065 - bvanjoi:fix-124490, r=petrochenkov mark binding undetermined if target name exist and not obtained - Fixes rust-lang#124490 - Fixes rust-lang#125013 Following up on rust-lang#124840, I think handling only `target_bindings` is sufficient. r? `@petrochenkov`
- Loading branch information
Showing
5 changed files
with
49 additions
and
5 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
//@ edition: 2018 | ||
|
||
// https://github.com/rust-lang/rust/issues/124490 | ||
|
||
use ops::{self as std}; | ||
//~^ ERROR: unresolved import `ops` | ||
use std::collections::{self as ops}; | ||
|
||
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,13 @@ | ||
error[E0432]: unresolved import `ops` | ||
--> $DIR/cycle-import-in-std-1.rs:5:11 | ||
| | ||
LL | use ops::{self as std}; | ||
| ^^^^^^^^^^^ no external crate `ops` | ||
| | ||
= help: consider importing one of these items instead: | ||
core::ops | ||
std::ops | ||
|
||
error: aborting due to 1 previous error | ||
|
||
For more information about this error, try `rustc --explain E0432`. |
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 @@ | ||
//@ edition: 2018 | ||
|
||
// https://github.com/rust-lang/rust/issues/125013 | ||
|
||
use ops::{self as std}; | ||
//~^ ERROR: unresolved import `ops` | ||
use std::ops::Deref::{self as ops}; | ||
|
||
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,13 @@ | ||
error[E0432]: unresolved import `ops` | ||
--> $DIR/cycle-import-in-std-2.rs:5:11 | ||
| | ||
LL | use ops::{self as std}; | ||
| ^^^^^^^^^^^ no external crate `ops` | ||
| | ||
= help: consider importing one of these items instead: | ||
core::ops | ||
std::ops | ||
|
||
error: aborting due to 1 previous error | ||
|
||
For more information about this error, try `rustc --explain E0432`. |