fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error: use `Session::split_debuginfo` instead of this field 2 --> $DIR/bad_opt_access.rs:14:13 3 | 4LL | let _ = sess.opts.cg.split_debuginfo; 5 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 6 | 7note: the lint level is defined here 8 --> $DIR/bad_opt_access.rs:8:9 9 | 10LL | #![deny(rustc::bad_opt_access)] 11 | ^^^^^^^^^^^^^^^^^^^^^ 12 13error: use `Session::crate_types` instead of this field 14 --> $DIR/bad_opt_access.rs:17:13 15 | 16LL | let _ = sess.opts.crate_types; 17 | ^^^^^^^^^^^^^^^^^^^^^ 18 19error: aborting due to 2 previous errors 20