mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-11-03 05:13:35 +00:00
update chalk
this brings in support from trait upcasting, yay! (and as such fixes a test)
This commit is contained in:
parent
772266abeb
commit
dde6ab4983
3 changed files with 12 additions and 13 deletions
|
|
@ -1173,7 +1173,6 @@ trait B {}
|
|||
|
||||
fn test(a: &dyn A) -> &dyn B {
|
||||
a
|
||||
//^ error: expected &dyn B, found &dyn A
|
||||
}
|
||||
"#,
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue