[2.x] refactor: Delete silent annotation (#8893)

This commit is contained in:
kenji yoshida 2026-03-11 02:39:02 +09:00 committed by GitHub
parent 963e38256c
commit 4f4bc374f6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 1 additions and 18 deletions

View File

@ -340,6 +340,7 @@ lazy val utilLogging = project
Test / fork := true,
mimaSettings,
mimaBinaryIssueFilters ++= Seq(
ProblemFilters.exclude[MissingClassProblem]("com.github.ghik.silencer.silent")
),
)
.configure(addSbtIO)

View File

@ -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