diff options
| author | Raekye <Raekye@users.noreply.github.com> | 2023-09-27 17:25:31 -0400 |
|---|---|---|
| committer | Raekye <Raekye@users.noreply.github.com> | 2023-09-30 19:00:45 -0400 |
| commit | 884af362f2d1eeda44af46443d9f78037078192f (patch) | |
| tree | 775061617eabfbaed47baaf4a23b68f3a32895f4 /compiler/rustc_codegen_cranelift/example/std_example.rs | |
| parent | 2f89c414f2e3a05f104012b860c27338258f5382 (diff) | |
| download | rust-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
