```
ptr::read(&v as *const _ as *const SomeType) // `v` transmuted to `SomeType`
```
+
+Note that this does not move `v` (unlike `transmute`), and may need a
+call to `mem::forget(v)` in case you want to avoid destructors being called.
"##,
E0152: r##"
all_errors.push_all(&rustc_typeck::DIAGNOSTICS);
all_errors.push_all(&rustc_borrowck::DIAGNOSTICS);
all_errors.push_all(&rustc_resolve::DIAGNOSTICS);
+ all_errors.push_all(&rustc_privacy::DIAGNOSTICS);
+ all_errors.push_all(&rustc_trans::DIAGNOSTICS);
Registry::new(&*all_errors)
}