]> git.lizzy.rs Git - rust.git/blob - tests/ui/include-macros/mismatched-types.rs
Auto merge of #107843 - bjorn3:sync_cg_clif-2023-02-09, r=bjorn3
[rust.git] / tests / 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 }