]> git.lizzy.rs Git - rust.git/commitdiff
Auto merge of #22838 - petrochenkov:bytelit, r=alexcrichton
authorbors <bors@rust-lang.org>
Wed, 18 Mar 2015 08:27:22 +0000 (08:27 +0000)
committerbors <bors@rust-lang.org>
Wed, 18 Mar 2015 08:27:22 +0000 (08:27 +0000)
This patch changes the type of byte string literals from `&[u8]` to `&[u8; N]`.
It also implements some necessary traits (`IntoBytes`, `Seek`, `Read`, `BufRead`) for fixed-size arrays (also related to #21725) and adds test for #17233, which seems to be resolved.

Fixes #18465
[breaking-change]

1  2 
src/librustc_trans/trans/_match.rs
src/librustc_trans/trans/consts.rs
src/librustc_typeck/check/mod.rs

Simple merge
Simple merge
Simple merge