diff options
| author | bors <bors@rust-lang.org> | 2018-01-21 16:52:09 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2018-01-21 16:52:09 +0000 |
| commit | 97520ccb101609af63f29919bb0a39115269c89e (patch) | |
| tree | 7a3cbc112e89cc045bfec646dc759cfd0e021b90 /src/rustllvm/PassWrapper.cpp | |
| parent | 3001ab10b96dd495f4c579936a592dc993388568 (diff) | |
| parent | 067405044cb682f1d01c8665e81287c23dd3655f (diff) | |
| download | rust-97520ccb101609af63f29919bb0a39115269c89e.tar.gz rust-97520ccb101609af63f29919bb0a39115269c89e.zip | |
Auto merge of #47116 - estebank:non-accessible-ctor, r=petrochenkov
Tweaks to invalid ctor messages
- Do not suggest using a constructor that isn't accessible
- Suggest the appropriate syntax (`()`/`{}` as appropriate)
- Add note when trying to use `Self` as a ctor
CC #22488, fix #47085.
Diffstat (limited to 'src/rustllvm/PassWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
