about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2022-05-30 09:19:03 +0000
committerbors <bors@rust-lang.org>2022-05-30 09:19:03 +0000
commit5c780b98d10f48d6255cf2deb2643194b9221c02 (patch)
treec2ff6e458787797f666a3774b05863c2a1d8333e /compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp
parent855fc022fe879f4e3493a024f9c6b981d6317612 (diff)
parent2f96fbe2200d5928faafdf068b591170b6a127b7 (diff)
downloadrust-5c780b98d10f48d6255cf2deb2643194b9221c02.tar.gz
rust-5c780b98d10f48d6255cf2deb2643194b9221c02.zip
Auto merge of #96964 - oli-obk:const_trait_mvp, r=compiler-errors
Replace `#[default_method_body_is_const]` with `#[const_trait]`

pulled out of #96077

related issues:  #67792 and #92158

cc `@fee1-dead`

This is groundwork to only allowing `impl const Trait` for traits that are marked with `#[const_trait]`. This is necessary to prevent adding a new default method from becoming a breaking change (as it could be a non-const fn).
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp')
0 files changed, 0 insertions, 0 deletions