mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 06:44:35 +00:00
21 lines
564 B
Plaintext
21 lines
564 B
Plaintext
error: use `Session::split_debuginfo` instead of this field
|
|
--> $DIR/bad_opt_access.rs:14:13
|
|
|
|
|
LL | let _ = sess.opts.cg.split_debuginfo;
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
note: the lint level is defined here
|
|
--> $DIR/bad_opt_access.rs:8:9
|
|
|
|
|
LL | #![deny(rustc::bad_opt_access)]
|
|
| ^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
error: use `Session::crate_types` instead of this field
|
|
--> $DIR/bad_opt_access.rs:17:13
|
|
|
|
|
LL | let _ = sess.opts.crate_types;
|
|
| ^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
error: aborting due to 2 previous errors
|
|
|