about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2021-03-16 04:24:48 +0000
committerbors <bors@rust-lang.org>2021-03-16 04:24:48 +0000
commit195ad4830e11a544391abe296b146450dea8411b (patch)
tree181720fd58378ebc48800a2a10debdcdab36ba4d /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parent4c10c84c63bb31d98afad757107970150d691c1e (diff)
parente67594166ecb808024a0694cd4c3ff9946d0837c (diff)
downloadrust-195ad4830e11a544391abe296b146450dea8411b.tar.gz
rust-195ad4830e11a544391abe296b146450dea8411b.zip
Auto merge of #82898 - oli-obk:tait_🧊, r=nikomatsakis
Add a `min_type_alias_impl_trait` feature gate

This new feature gate only permits type alias impl trait to be constrained by function and trait method return types. All other possible constraining sites like const/static types, closure return types and binding types are now forbidden and gated under the `type_alias_impl_trait` and `impl_trait_in_bindings` feature gates (which are both marked as incomplete, as they have various ways to ICE the compiler or cause query cycles where they shouldn't).

r? `@nikomatsakis`

This is best reviewed commit-by-commit
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions