summary refs log tree commit diff
path: root/tests/ui/impl-trait/example-st.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/impl-trait/example-st.rs')
-rw-r--r--tests/ui/impl-trait/example-st.rs2
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;
 }