about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorChristopher Vittal <christopher.vittal@gmail.com>2017-11-14 19:57:09 -0500
committerChristopher Vittal <christopher.vittal@gmail.com>2017-11-15 15:46:01 -0500
commitb27642973421c6c4e588b4a2d12c7120c4c21176 (patch)
tree2b9318fc577fcbeae0f10aba6ee41770d1141eab /src/rustllvm/RustWrapper.cpp
parent9b4372e3b1a4a25972e524687ba1c719bcaf243a (diff)
downloadrust-b27642973421c6c4e588b4a2d12c7120c4c21176.tar.gz
rust-b27642973421c6c4e588b4a2d12c7120c4c21176.zip
Disallow all impl Trait within Fn trait sugar
We already disallowed them to be in the arg list, such as
Fn(impl Debug), but now we disallow Fn() -> impl Debug.

Also remove the ImplTraitContext argument from the function
lower_parenthesized_parameter_data as it is now unused.

Comment out part of test run-pass/impl-trait/xcrate.rs that now fails.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions