Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion rust-toolchain
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[toolchain]
channel = "nightly-2024-06-13"
channel = "nightly-2024-06-17"
components = ["cargo", "llvm-tools", "rust-src", "rust-std", "rustc", "rustc-dev", "rustfmt"]
4 changes: 1 addition & 3 deletions tests/ui/crashes/ice-6252.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,7 @@ error[E0412]: cannot find type `PhantomData` in this scope
LL | _n: PhantomData,
| ^^^^^^^^^^^ not found in this scope
|
help: consider importing one of these items
|
LL + use core::marker::PhantomData;
help: consider importing this struct
|
LL + use std::marker::PhantomData;
|
Expand Down
1 change: 1 addition & 0 deletions tests/ui/new_ret_no_self.rs
Original file line number Diff line number Diff line change
Expand Up @@ -363,6 +363,7 @@ impl RetOtherSelf<T> {
}
}

#[allow(dependency_on_unit_never_type_fallback)]
mod issue7344 {
struct RetImplTraitSelf<T>(T);

Expand Down
4 changes: 2 additions & 2 deletions tests/ui/new_ret_no_self.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ LL | | }
| |_________^

error: methods called `new` usually return `Self`
--> tests/ui/new_ret_no_self.rs:380:9
--> tests/ui/new_ret_no_self.rs:381:9
|
LL | / fn new(t: T) -> impl Into<i32> {
LL | |
Expand All @@ -96,7 +96,7 @@ LL | | }
| |_________^

error: methods called `new` usually return `Self`
--> tests/ui/new_ret_no_self.rs:402:9
--> tests/ui/new_ret_no_self.rs:403:9
|
LL | / fn new(t: T) -> impl Trait2<(), i32> {
LL | |
Expand Down