]> git.lizzy.rs Git - rust.git/blob - src/test/ui/include-macros/mismatched-types.rs
Require Drop impls to have the same constness on its bounds as the bounds on the...
[rust.git] / src / test / ui / include-macros / mismatched-types.rs
1 fn main() {
2     let b: &[u8] = include_str!("file.txt");    //~ ERROR mismatched types
3     let s: &str = include_bytes!("file.txt");   //~ ERROR mismatched types
4 }