Rollup merge of #105955 - Nilstrieb:no-trivial-opt-wrappers-we-have-field-accesses-for-that, r=cjgillot
Remove wrapper functions for some unstable options They are trivial and just forward to the option. Like most other options, we can just access it directly.
This commit is contained in:
commit
6689d2df08
8 changed files with 10 additions and 40 deletions
|
@ -713,7 +713,7 @@ impl<'a, 'tcx> EncodeContext<'a, 'tcx> {
|
|||
let computed_total_bytes: usize = stats.iter().map(|(_, size)| size).sum();
|
||||
assert_eq!(total_bytes, computed_total_bytes);
|
||||
|
||||
if tcx.sess.meta_stats() {
|
||||
if tcx.sess.opts.unstable_opts.meta_stats {
|
||||
self.opaque.flush();
|
||||
|
||||
// Rewind and re-read all the metadata to count the zero bytes we wrote.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue