mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-26 11:59:49 +00:00
Diagnose private fields in record constructor
This commit is contained in:
parent
c405509f2e
commit
55c75450fb
6 changed files with 84 additions and 27 deletions
|
@ -174,6 +174,7 @@ pub struct MalformedDerive {
|
|||
#[derive(Debug)]
|
||||
pub struct NoSuchField {
|
||||
pub field: InFile<AstPtr<ast::RecordExprField>>,
|
||||
pub private: bool,
|
||||
}
|
||||
|
||||
#[derive(Debug)]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue