]> git.lizzy.rs Git - rust.git/commit
Move to using an extern type for opaqueness
authorMark Rousskov <mark.simulacrum@gmail.com>
Sat, 15 Feb 2020 23:47:34 +0000 (18:47 -0500)
committerMark Rousskov <mark.simulacrum@gmail.com>
Mon, 17 Feb 2020 14:18:33 +0000 (09:18 -0500)
commit34ef8f5441d5335c4177abd622383ed34a6e9315
tree1290ad5c4459d3b637a715931500675dc02e6905
parent6c45e4540be20b7027ee6364eefc444b432b82ba
Move to using an extern type for opaqueness

This prevents accidental dereferences and so forth of the Void type, as well as
cleaning up the error message to reference Opaque rather than the more
complicated PhantomData type.
src/libcore/fmt/mod.rs
src/test/ui/fmt/send-sync.stderr