-
Notifications
You must be signed in to change notification settings - Fork 12.5k
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 #90249 - matthiaskrgr:rollup-xwtfhq3, r=matthiaskrgr
Rollup of 4 pull requests Successful merges: - #89889 (Use the "nice E0277 errors"[1] for `!Send` `impl Future` from foreign crate) - #90127 (Do not mention a reexported item if it's private) - #90143 (tidy: Remove submodules from edition exception list) - #90238 (Add alias for guillaume.gomez@huawei.com) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
- Loading branch information
Showing
10 changed files
with
121 additions
and
102 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
Submodule rustc-dev-guide
updated
3 files
+2 −2 | ci/date-check/Cargo.toml | |
+4 −19 | src/building/bootstrapping.md | |
+4 −1 | src/profiling.md |
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,21 @@ | ||
mod list { | ||
pub use self::List::Cons; | ||
|
||
pub enum List<T> { | ||
Cons(T, Box<List<T>>), | ||
} | ||
} | ||
|
||
mod alias { | ||
use crate::list::List; | ||
|
||
pub type Foo = List<String>; | ||
} | ||
|
||
fn foo(l: crate::alias::Foo) { | ||
match l { | ||
Cons(..) => {} //~ ERROR: cannot find tuple struct or tuple variant `Cons` in this scope | ||
} | ||
} | ||
|
||
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[E0531]: cannot find tuple struct or tuple variant `Cons` in this scope | ||
--> $DIR/issue-90113.rs:17:9 | ||
| | ||
LL | Cons(..) => {} | ||
| ^^^^ not found in this scope | ||
| | ||
help: consider importing this tuple variant | ||
| | ||
LL | use list::List::Cons; | ||
| | ||
|
||
error: aborting due to previous error | ||
|
||
For more information about this error, try `rustc --explain E0531`. |
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