about summary refs log tree commit diff
path: root/src/libsyntax/parse
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2018-08-24 19:21:27 +0000
committerbors <bors@rust-lang.org>2018-08-24 19:21:27 +0000
commitd41f21f11a249ad78990eb9a1ec899ec123c7136 (patch)
tree9a4c2a6e83f0d4bb63dcc502ff47bc69008287e2 /src/libsyntax/parse
parent727eabd68143e968d8826ee29b8ea7792d29fa96 (diff)
parent264d0a2e5c7291dc2dd2701b8e990c6fb58b54ed (diff)
downloadrust-d41f21f11a249ad78990eb9a1ec899ec123c7136.tar.gz
rust-d41f21f11a249ad78990eb9a1ec899ec123c7136.zip
Auto merge of #53460 - JoshBrudnak:master, r=estebank
Fix compile panic on non existent type return

Reverted the change https://github.com/rust-lang/rust/commit/28a76a90009d605349babcd2755962ab93913327#diff-4ed25c00aceb84666fca639cf8101c7cL1069 which was panicking when returning a type that cannot be found in the current scope and added testing for the compile error.

For example:
```rust
fn addition() -> Wrapper<impl A> {}
```
Where Wrapper is undefined in the scope.
Diffstat (limited to 'src/libsyntax/parse')
0 files changed, 0 insertions, 0 deletions