## Compiler version 3.3.0-RC5 with `-Wunused:imports` flag on. ## Minimized code ```Scala trait Circular[T] extends Ordering[T] trait Turns[C: Circular, T] extends Ordering[T]: extension (turns: T) def extract: C def foo[K, T](start: T, end: T)(using circular: Circular[K], turns: Turns[K, T]): Boolean = import turns.given if start > end then throw new IllegalArgumentException("start must be <= end") import circular.given start.extract < end.extract ``` ## Output ```scala 10 | import turns.given | ^^^^^ | unused import ``` ## Expectation No warning should be emitted.