e304a1f13b
This reverts commit 54fb5a48b9
.
12 lines
199 B
Rust
12 lines
199 B
Rust
// compile-flags: -Ztrait-solver=next
|
|
// known-bug: rust-lang/trait-system-refactor-initiative#38
|
|
|
|
fn test(s: &[u8]) {
|
|
match &s[0..3] {
|
|
b"uwu" => {}
|
|
_ => {}
|
|
}
|
|
}
|
|
|
|
fn main() {}
|