]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-3477.rs
Require Drop impls to have the same constness on its bounds as the bounds on the...
[rust.git] / src / test / ui / issues / issue-3477.rs
1 fn main() {
2     let _p: char = 100;
3     //~^ ERROR mismatched types
4     //~| expected `char`, found `u8`
5 }