]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/associated-path-shl.rs
parser will not give wrong help message for 'public'
[rust.git] / src / test / ui / associated-path-shl.rs
index d159082ab7ad5d0fcc1c7fdfa79de19268dae686..20a6fd83faa327fa9a6e63d86f7798abbc1337d7 100644 (file)
@@ -5,6 +5,5 @@ fn main() {
     let _ = <<A>::B>::C; //~ ERROR cannot find type `A` in this scope
     let <<A>::B>::C; //~ ERROR cannot find type `A` in this scope
     let 0 ..= <<A>::B>::C; //~ ERROR cannot find type `A` in this scope
-                           //~^ ERROR only char and numeric types are allowed in range patterns
     <<A>::B>::C; //~ ERROR cannot find type `A` in this scope
 }