Skip to content

Commit

Permalink
Note new warning in subtrait dispatch question
Browse files Browse the repository at this point in the history
    warning: trait `Derived` is never used
     --> questions/027-subtrait-dispatch.rs:7:7
      |
    7 | trait Derived: Base {
      |       ^^^^^^^
      |
      = note: `#[warn(dead_code)]` on by default
  • Loading branch information
dtolnay committed Feb 8, 2024
1 parent 5ee0ed4 commit f59e31d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions questions/027-subtrait-dispatch.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
Answer: 11
Difficulty: 1
Warnings: dead_code

# Hint

Expand Down

0 comments on commit f59e31d

Please sign in to comment.