mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-02 14:51:48 +00:00
fix: Always explicitly set trait ref self types when lowering
This commit is contained in:
parent
70ee4e5545
commit
20f7ab5ab4
9 changed files with 80 additions and 64 deletions
|
@ -831,7 +831,7 @@ fn main() {
|
|||
//- minicore: sized
|
||||
fn main() {
|
||||
_ = ((), ()) as ();
|
||||
//^^^^^^^^^^^^^^ error: non-primitive cast: `(_, _)` as `()`
|
||||
//^^^^^^^^^^^^^^ error: non-primitive cast: `((), ())` as `()`
|
||||
}
|
||||
"#,
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue