Closed
Description
I raise an internal compiler error on play.rust-lang.org stable beta and nightly and on my machine.
I tried this code:
fn main() {
let _ = &*"sth";
}
I expect no error even if I would write it differently.
instead I got error: internal compiler error: const expr(10: &*"sth") of type &'static str has size 8 instead of 16