mirror of https://github.com/sbt/sbt.git
[2.x] refactor: Delete silent annotation (#8893)
This commit is contained in:
parent
963e38256c
commit
4f4bc374f6
|
|
@ -340,6 +340,7 @@ lazy val utilLogging = project
|
|||
Test / fork := true,
|
||||
mimaSettings,
|
||||
mimaBinaryIssueFilters ++= Seq(
|
||||
ProblemFilters.exclude[MissingClassProblem]("com.github.ghik.silencer.silent")
|
||||
),
|
||||
)
|
||||
.configure(addSbtIO)
|
||||
|
|
|
|||
|
|
@ -1,18 +0,0 @@
|
|||
/*
|
||||
* sbt
|
||||
* Copyright 2023, Scala center
|
||||
* Copyright 2011 - 2022, Lightbend, Inc.
|
||||
* Copyright 2008 - 2010, Mark Harrah
|
||||
* Licensed under Apache License 2.0 (see LICENSE)
|
||||
*/
|
||||
|
||||
package com.github.ghik.silencer
|
||||
|
||||
import scala.annotation.Annotation
|
||||
|
||||
/**
|
||||
* When silencer compiler plugin is enabled, this annotation suppresses all warnings emitted by
|
||||
* scalac for some portion of source code. It can be applied on any definition (`class`, def`,
|
||||
* `val`, `var`, etc.) or on arbitrary expression, e.g. {123; 456}: @silent`
|
||||
*/
|
||||
class silent extends Annotation
|
||||
Loading…
Reference in New Issue