OriginWarning

dotty.tools.dotc.reporting.Diagnostic.OriginWarning
trait OriginWarning(val origin: String)

A Warning with an origin. The semantics of origin depend on the warning. For example, an unused import warning has an origin that specifies the unused selector. The origin of a deprecation is the deprecated element.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
Self type

Members list

Value members

Concrete fields

val origin: String