mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-02 06:41:48 +00:00
Lower const params with a bad id
This commit is contained in:
parent
68bdf609f3
commit
a481e004b0
38 changed files with 475 additions and 184 deletions
|
@ -570,7 +570,7 @@ impl ReceiverAdjustments {
|
|||
.intern(Interner);
|
||||
}
|
||||
}
|
||||
never!("unsize_array with non-reference-to-array {:?}", ty);
|
||||
// FIXME: report diagnostic if array unsizing happens without indirection.
|
||||
ty
|
||||
};
|
||||
adjust.push(Adjustment {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue