]> git.lizzy.rs Git - rust.git/blob - tests/ui-fulldeps/internal-lints/bad_opt_access.stderr
Rollup merge of #105172 - alexs-sh:issue-98861-fix-next, r=scottmcm
[rust.git] / tests / ui-fulldeps / internal-lints / bad_opt_access.stderr
1 error: use `Session::split_debuginfo` instead of this field
2   --> $DIR/bad_opt_access.rs:14:13
3    |
4 LL |     let _ = sess.opts.cg.split_debuginfo;
5    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
6    |
7 note: the lint level is defined here
8   --> $DIR/bad_opt_access.rs:8:9
9    |
10 LL | #![deny(rustc::bad_opt_access)]
11    |         ^^^^^^^^^^^^^^^^^^^^^
12
13 error: use `Session::crate_types` instead of this field
14   --> $DIR/bad_opt_access.rs:17:13
15    |
16 LL |     let _ = sess.opts.crate_types;
17    |             ^^^^^^^^^^^^^^^^^^^^^
18
19 error: aborting due to 2 previous errors
20