[error] non-private method doCollected refers to private trait Collected
[error] in its type signature [org$scalatest$Matchers$doCollected$$T]
[error] (collected: Matchers.this.Collected, xs: scala.collection.GenTraversable[T],
[error] original
[error] : Any, prettifier: org.scalactic.Prettifier, pos:
[error] org.scalactic.source.Position
[error] )(fun: T => org.scalatest.Assertion)org.scalatest.Assertion
[error] one error found
Looking at the Scalatest source, doCollected is private[scalatest], which means that compiling my own project against this code should not result in an error—I can see why it should be an error when building scalatest itself, though.