Deprecate ReceiveChannel<T>.collect
diff --git a/integration/kotlinx-coroutines-jdk8/src/channels8/Channels.kt b/integration/kotlinx-coroutines-jdk8/src/channels8/Channels.kt
index 96390bd..aa41e33 100644
--- a/integration/kotlinx-coroutines-jdk8/src/channels8/Channels.kt
+++ b/integration/kotlinx-coroutines-jdk8/src/channels8/Channels.kt
@@ -33,6 +33,7 @@
 /**
  * Applies the [collector] to the [ReceiveChannel]
  */
+@Deprecated("No replacement")
 public suspend fun <T, A : Any, R> ReceiveChannel<T>.collect(collector: Collector<T, A, R>): R {
     val container: A = collector.supplier().get()
     val accumulator: BiConsumer<A, T> = collector.accumulator()