]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/error-codes/E0029-teach.rs
Stabilize match_default_bindings
[rust.git] / src / test / ui / error-codes / E0029-teach.rs
index ca85f58133ccdf5efb32a34183a5fad7016bc1a6..1bc2c2d58b1947c606dc0b04889cc525d1b6810b 100644 (file)
@@ -16,7 +16,6 @@ fn main() {
     match s {
         "hello" ... "world" => {}
         //~^ ERROR only char and numeric types are allowed in range patterns
-        //~| ERROR non-reference pattern used to match a reference
         _ => {}
     }
 }