about summary refs log tree commit diff
path: root/compiler/rustc_codegen_cranelift/example/std_example.rs
diff options
context:
space:
mode:
authorRaekye <Raekye@users.noreply.github.com>2023-09-27 17:25:31 -0400
committerRaekye <Raekye@users.noreply.github.com>2023-09-30 19:00:45 -0400
commit884af362f2d1eeda44af46443d9f78037078192f (patch)
tree775061617eabfbaed47baaf4a23b68f3a32895f4 /compiler/rustc_codegen_cranelift/example/std_example.rs
parent2f89c414f2e3a05f104012b860c27338258f5382 (diff)
downloadrust-884af362f2d1eeda44af46443d9f78037078192f.tar.gz
rust-884af362f2d1eeda44af46443d9f78037078192f.zip
Validate `~const` trait bounds on associated fns.
Previously, any associated function could have `~const` trait bounds on
generic parameters, which could lead to ICEs when these bounds were used
on associated functions of non-`#[const_trait] trait` or
non-`impl const` blocks.

Includes changes as per @fee1-dead's comments in #116210.
Diffstat (limited to 'compiler/rustc_codegen_cranelift/example/std_example.rs')
0 files changed, 0 insertions, 0 deletions