diff options
| author | bors <bors@rust-lang.org> | 2024-02-07 03:33:39 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2024-02-07 03:33:39 +0000 |
| commit | d4f6f9ee6a3b24f2cb97b1a5b82963609b93aa33 (patch) | |
| tree | 87e875c88b08158761df546ea4e88902fbb08d6a /tests/ui/impl-trait/example-st.rs | |
| parent | 586893c7b0adabf5f0a4c155fd86e13cf470e74b (diff) | |
| parent | c7519d42c2664828c98fdb98acab73e9a39b0b97 (diff) | |
| download | rust-d4f6f9ee6a3b24f2cb97b1a5b82963609b93aa33.tar.gz rust-d4f6f9ee6a3b24f2cb97b1a5b82963609b93aa33.zip | |
Auto merge of #118257 - mu001999:dead_code/trait, r=cjgillot
Make traits / trait methods detected by the dead code lint Fixes #118139 and #41883
Diffstat (limited to 'tests/ui/impl-trait/example-st.rs')
| -rw-r--r-- | tests/ui/impl-trait/example-st.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ui/impl-trait/example-st.rs b/tests/ui/impl-trait/example-st.rs index 4e1aa3a0859..1e6ebc52365 100644 --- a/tests/ui/impl-trait/example-st.rs +++ b/tests/ui/impl-trait/example-st.rs @@ -3,7 +3,7 @@ struct State; type Error = (); -trait Bind<F> { +trait Bind<F> { //~ WARN trait `Bind` is never used type Output; fn bind(self, f: F) -> Self::Output; } |
