diff options
| author | bors <bors@rust-lang.org> | 2023-06-23 23:26:38 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2023-06-23 23:26:38 +0000 |
| commit | 1d67eba6873b1d551a259a0bbc1e2651b4443e12 (patch) | |
| tree | 20a9937507ccd051ee0011e8b138eae2af9ba7a3 /tests/codegen | |
| parent | 22e9fe644ea710eec50cb0aabcae7fa8dd9fd675 (diff) | |
| parent | 27b386ad17720523ad7bc49e9cf481dd7f7d8da4 (diff) | |
| download | rust-1d67eba6873b1d551a259a0bbc1e2651b4443e12.tar.gz rust-1d67eba6873b1d551a259a0bbc1e2651b4443e12.zip | |
Auto merge of #112891 - oli-obk:impl_trait_in_assoc_tys_cleanup, r=compiler-errors
Various impl trait in assoc tys cleanups r? `@compiler-errors` All commits except for the last are pure refactorings. 274dab5bd658c97886a8987340bf50ae57900c39 allows struct fields to participate in deciding whether a function has an opaque in its signature. best reviewed commit by commit
Diffstat (limited to 'tests/codegen')
| -rw-r--r-- | tests/codegen/sanitizer-cfi-emit-type-metadata-id-itanium-cxx-abi.rs | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/tests/codegen/sanitizer-cfi-emit-type-metadata-id-itanium-cxx-abi.rs b/tests/codegen/sanitizer-cfi-emit-type-metadata-id-itanium-cxx-abi.rs index 472d921ace0..63e63c5d4aa 100644 --- a/tests/codegen/sanitizer-cfi-emit-type-metadata-id-itanium-cxx-abi.rs +++ b/tests/codegen/sanitizer-cfi-emit-type-metadata-id-itanium-cxx-abi.rs @@ -61,7 +61,19 @@ pub type Type9 = impl Send; pub type Type10 = impl Send; pub type Type11 = impl Send; -pub fn fn1<'a>() { +pub fn fn1<'a>() where + Type1: 'static, + Type2: 'static, + Type3: 'static, + Type4: 'static, + Type5: 'static, + Type6: 'static, + Type7: 'static, + Type8: 'static, + Type9: 'static, + Type10: 'static, + Type11: 'static, +{ // Closure let closure1 = || { }; let _: Type1 = closure1; |
