Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.
// check-pass
#![feature(string_deref_patterns)]
fn foo(s: &String) -> i32 {
match *s {
"a" => 42,
_ => -1,
}
fn bar(s: Option<&&&&String>) -> i32 {
match s {
Some(&&&&"&&&&") => 1,
fn main() {}