You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
error: internal compiler error: ../src/librustc_mir/transform/promote_consts.rs:204: tmp4 not promotable: Unpromotable
--> /Users/nox/src/servo/components/script/dom/bindings/interface.rs:122:23
122 |> name: b"Function\0" as *const _ as *const libc::c_char,
|> ^^^^^^^^^^^^^
note: the compiler unexpectedly panicked. this is a bug.
note: we would appreciate a bug report: https://github.com/rust-lang/rust/blob/master/CONTRIBUTING.md#bug-reports
Activity
oli-obk commentedon May 6, 2016
whoops, on it
&[u8]
to* const u8
doesn't work in const_eval #33457Auto merge of #33457 - oli-obk:const_err/cast_u8_ptr, r=eddyb
nox commentedon May 10, 2016
Please reopen.
oli-obk commentedon May 10, 2016
hmm... that's a different issue. @eddyb this looks like your new constant code