about summary refs log tree commit diff
path: root/tests/ui/trivial-bounds/two-sized-strs.rs
blob: 5cb82eac417f28fc8381e702e8056ffb38904be8 (plain)
1
2
3
4
5
6
7
8
9
10
11
//! Regression test for #121363
//@ compile-flags: -Zmir-enable-passes=+GVN --crate-type lib
//@ build-pass

#![feature(trivial_bounds)]
#![expect(trivial_bounds)]

#[derive(Debug)]
struct TwoStrs(str, str)
where
    str: Sized;