File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 1
- //! Ensure code generation when using polymorphic references does not trigger an LLVM assertion
1
+ //! Regression test for an LLVM assertion that used to be hit when:
2
2
//!
3
- //! This is checked in three methods:
4
- //! - `&dyn MyTrait` references in an enum variant wrapped in an unnamed field of a struct
5
- //! - `&dyn MyTrait` references in an `Option` for a named field in a struct
6
- //! - `&dyn MyTrait` references in an `Option` for an unnamed field in a struct
3
+ //! - There's a generic enum contained within a tuple struct
4
+ //! - When the tuple struct is parameterized by some lifetime `'a`
5
+ //! - The enum is concretized with its type argument being a reference to a trait object (of
6
+ //! lifetime `'a`)
7
7
//!
8
8
//! Issue: <https://github.com/rust-lang/rust/issues/9719>
9
9
You can’t perform that action at this time.
0 commit comments