diff options
| author | bors <bors@rust-lang.org> | 2018-01-14 16:56:15 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2018-01-14 16:56:15 +0000 |
| commit | 3f92e8d89861f0f5408ad9381a7467ec6e7d76bc (patch) | |
| tree | 75ce47d50e9c682bc26d8e601b6d64a1c3d26092 /src/rustllvm/RustWrapper.cpp | |
| parent | adc9d86363e0997f8378ea0260dfec3a9d09bcf0 (diff) | |
| parent | 60c48dd16ae579e6f2e0ae74862b0420ff471da9 (diff) | |
| download | rust-3f92e8d89861f0f5408ad9381a7467ec6e7d76bc.tar.gz rust-3f92e8d89861f0f5408ad9381a7467ec6e7d76bc.zip | |
Auto merge of #46455 - petrochenkov:pimpl, r=nikomatsakis
syntax: Rewrite parsing of impls
Properly parse impls for the never type `!`
Recover from missing `for` in `impl Trait for Type`
Prohibit inherent default impls and default impls of auto traits (https://github.com/rust-lang/rust/issues/37653#issuecomment-348687794, https://github.com/rust-lang/rust/issues/37653#issuecomment-348688785)
Change wording in more diagnostics to use "auto traits"
Fix some spans in diagnostics
Some other minor code cleanups in the parser
Disambiguate generics and qualified paths in impls (parse `impl <Type as Trait>::AssocTy { ... }`)
Replace the future-compatibility hack from https://github.com/rust-lang/rust/pull/38268 with actually parsing generic parameters
Add a test for https://github.com/rust-lang/rust/issues/46438
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
