]> git.lizzy.rs Git - rust.git/commit
Allow constants of byte slice type as patterns
authorOliver Scherer <github35764891676564198441@oli-obk.de>
Tue, 13 Nov 2018 13:10:47 +0000 (14:10 +0100)
committerOliver Scherer <github35764891676564198441@oli-obk.de>
Thu, 29 Nov 2018 09:16:03 +0000 (10:16 +0100)
commit7df1d9f6564cafca3758e5d629920c02df526989
tree884aec6ea6b64b641fd316036c85d34034605993
parenta49316ddc99d9d595193557fc899f6c52e4d9af9
Allow constants of byte slice type as patterns
src/librustc_mir/hair/pattern/_match.rs
src/test/ui/pattern/slice-pattern-const.rs [new file with mode: 0644]