-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Warning when compiling unit tests #42364
Copy link
Copy link
Closed
Labels
A-buildRelated to or part of the build processRelated to or part of the build processC-assignedThere is someone working on resolving the issueThere is someone working on resolving the issueE-less-complexStraightforward. Recommended for a new contributor.Straightforward. Recommended for a new contributor.
Description
./mach test-unit -d produces
warning: associated function `new` is never used
--> components/servo/tests/common/mod.rs:25:19
|
24 | impl ServoTest {
| -------------- associated function in this implementation
25 | pub(crate) fn new() -> Self {
| ^^^
|
= note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
warning: `libservo` (test "largest_contentful_paint") generated 1 warning
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
A-buildRelated to or part of the build processRelated to or part of the build processC-assignedThere is someone working on resolving the issueThere is someone working on resolving the issueE-less-complexStraightforward. Recommended for a new contributor.Straightforward. Recommended for a new contributor.