| warning: unused attribute | |
| --> $DIR/library-normal.rs:2:11 | |
| | | |
| LL | #![expect(dead_code_pub_in_binary)] | |
| | ^^^^^^^^^^^^^^^^^^^^^^^ help: remove this attribute | |
| | | |
| = note: the `dead_code_pub_in_binary` lint has no effect in library crates | |
| = note: requested on the command line with `-W unused-attributes` | |
| error: this lint expectation is unfulfilled | |
| --> $DIR/library-normal.rs:2:11 | |
| | | |
| LL | #![expect(dead_code_pub_in_binary)] | |
| | ^^^^^^^^^^^^^^^^^^^^^^^ | |
| | | |
| note: the lint level is defined here | |
| --> $DIR/library-normal.rs:3:9 | |
| | | |
| LL | #![deny(unfulfilled_lint_expectations)] | |
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
| error: aborting due to 1 previous error; 1 warning emitted | |