rust/tests/ui/issues/issue-34503.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

15 lines
375 B
Plaintext
Raw Normal View History

2024-02-07 02:42:01 +00:00
warning: methods `foo` and `bar` are never used
--> $DIR/issue-34503.rs:5:12
|
LL | trait Foo<T> {
| --- methods in this trait
LL | fn foo(&self) where (T, Option<T>): Ord {}
| ^^^
LL | fn bar(&self, x: &Option<T>) -> bool
| ^^^
|
= note: `#[warn(dead_code)]` on by default
warning: 1 warning emitted