]> git.lizzy.rs Git - rust.git/blobdiff - src/test/compile-fail/syntax-extension-bytes-unsupported-literal.rs
Deprecate the bytes!() macro.
[rust.git] / src / test / compile-fail / syntax-extension-bytes-unsupported-literal.rs
index 142566fe8ab789f0768817bd75616a8ade1e9090..f6b3659354c5ba4ef231e571588ca0a57d2b679c 100644 (file)
@@ -10,4 +10,5 @@
 
 fn main() {
     let vec = bytes!(45f64); //~ ERROR unsupported literal in bytes!
+    //~^ WARN `bytes!` is deprecated
 }