Skip to content

Commit d1e499a

Browse files
committed
Rustup to rustc 1.67.0-nightly (e75aab045 2022-11-09)
1 parent 0b37af8 commit d1e499a

File tree

3 files changed

+21
-25
lines changed

3 files changed

+21
-25
lines changed

build_sysroot/Cargo.lock

Lines changed: 15 additions & 22 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

example/mini_core.rs

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ pub trait Sized {}
1919
#[lang = "destruct"]
2020
pub trait Destruct {}
2121

22+
#[lang = "tuple_trait"]
23+
pub trait Tuple {}
24+
2225
#[lang = "unsize"]
2326
pub trait Unsize<T: ?Sized> {}
2427

@@ -443,7 +446,7 @@ pub struct PhantomData<T: ?Sized>;
443446

444447
#[lang = "fn_once"]
445448
#[rustc_paren_sugar]
446-
pub trait FnOnce<Args> {
449+
pub trait FnOnce<Args: Tuple> {
447450
#[lang = "fn_once_output"]
448451
type Output;
449452

@@ -452,7 +455,7 @@ pub trait FnOnce<Args> {
452455

453456
#[lang = "fn_mut"]
454457
#[rustc_paren_sugar]
455-
pub trait FnMut<Args>: FnOnce<Args> {
458+
pub trait FnMut<Args: Tuple>: FnOnce<Args> {
456459
extern "rust-call" fn call_mut(&mut self, args: Args) -> Self::Output;
457460
}
458461

rust-toolchain

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
[toolchain]
2-
channel = "nightly-2022-11-03"
2+
channel = "nightly-2022-11-10"
33
components = ["rust-src", "rustc-dev", "llvm-tools-preview"]

0 commit comments

Comments
 (0)