forked from rust-lang/rust
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Auto merge of rust-lang#112494 - matthiaskrgr:rollup-xdf3om8, r=matth…
…iaskrgr Rollup of 5 pull requests Successful merges: - rust-lang#112297 (bootstrap: Disallow `--exclude test::std`) - rust-lang#112298 (Update field-offset and enable unstable_offset_of) - rust-lang#112335 (ci: Upgrade loongarch64-linux-gnu GCC to 13.1.0) - rust-lang#112413 (Adjust span labels for `HIDDEN_GLOB_REEXPORTS`) - rust-lang#112483 (Add deprecation warning to python versions <3.6 in x.py) r? `@ghost` `@rustbot` modify labels: rollup
- Loading branch information
Showing
13 changed files
with
104 additions
and
86 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
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
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 |
---|---|---|
@@ -1,31 +1,54 @@ | ||
warning: private item shadows public glob re-export | ||
--> $DIR/hidden_glob_reexports.rs:11:5 | ||
--> $DIR/hidden_glob_reexports.rs:9:5 | ||
| | ||
LL | pub use self::inner::*; | ||
| -------------- the name `Foo` in the type namespace is supposed to be publicly re-exported here | ||
LL | | ||
LL | struct Foo; | ||
| ^^^^^^^^^^^ but the private item here shadows it | ||
| ^^^^^^^^^^^ | ||
| | ||
note: the name `Foo` in the type namespace is supposed to be publicly re-exported here | ||
--> $DIR/hidden_glob_reexports.rs:12:13 | ||
| | ||
LL | pub use self::inner::*; | ||
| ^^^^^^^^^^^^^^ | ||
note: but the private item here shadows it | ||
--> $DIR/hidden_glob_reexports.rs:9:5 | ||
| | ||
LL | struct Foo; | ||
| ^^^^^^^^^^^ | ||
= note: `#[warn(hidden_glob_reexports)]` on by default | ||
|
||
warning: private item shadows public glob re-export | ||
--> $DIR/hidden_glob_reexports.rs:27:9 | ||
| | ||
LL | use self::other::Foo; | ||
| ^^^^^^^^^^^^^^^^ | ||
| | ||
note: the name `Foo` in the type namespace is supposed to be publicly re-exported here | ||
--> $DIR/hidden_glob_reexports.rs:25:13 | ||
| | ||
LL | pub use self::inner::*; | ||
| -------------- the name `Foo` in the type namespace is supposed to be publicly re-exported here | ||
LL | | ||
| ^^^^^^^^^^^^^^ | ||
note: but the private item here shadows it | ||
--> $DIR/hidden_glob_reexports.rs:27:9 | ||
| | ||
LL | use self::other::Foo; | ||
| ^^^^^^^^^^^^^^^^ but the private item here shadows it | ||
| ^^^^^^^^^^^^^^^^ | ||
|
||
warning: private item shadows public glob re-export | ||
--> $DIR/hidden_glob_reexports.rs:40:9 | ||
| | ||
LL | use std::primitive::u8; | ||
| ^^^^^^^^^^^^^^^^^^ | ||
| | ||
note: the name `u8` in the type namespace is supposed to be publicly re-exported here | ||
--> $DIR/hidden_glob_reexports.rs:38:13 | ||
| | ||
LL | pub use self::no_def_id::*; | ||
| ------------------ the name `u8` in the type namespace is supposed to be publicly re-exported here | ||
LL | | ||
| ^^^^^^^^^^^^^^^^^^ | ||
note: but the private item here shadows it | ||
--> $DIR/hidden_glob_reexports.rs:40:9 | ||
| | ||
LL | use std::primitive::u8; | ||
| ^^^^^^^^^^^^^^^^^^ but the private item here shadows it | ||
| ^^^^^^^^^^^^^^^^^^ | ||
|
||
warning: 3 warnings emitted | ||
|
Oops, something went wrong.