2023-06-07 23:19:27 -05:00
|
|
|
// compile-flags: -Ztrait-solver=next
|
2023-06-24 13:35:22 -05:00
|
|
|
// known-bug: rust-lang/trait-system-refactor-initiative#38
|
2023-06-07 23:19:27 -05:00
|
|
|
|
|
|
|
fn test(s: &[u8]) {
|
|
|
|
match &s[0..3] {
|
|
|
|
b"uwu" => {}
|
|
|
|
_ => {}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
fn main() {}
|