Remove obsolete diagnostics suppression

The diagnostic NON_PUBLIC_PRIMARY_CONSTRUCTOR_OF_INLINE_CLASS is now
obsolete because internal constructors of inline classes became allowed.
This commit is contained in:
Ilya Gorbunov
2020-12-31 05:46:34 +03:00
parent ebced14db2
commit 87e130e77a
14 changed files with 1 additions and 15 deletions
@@ -16,7 +16,6 @@ import kotlin.jvm.JvmName
* A discriminated union that encapsulates a successful outcome with a value of type [T]
* or a failure with an arbitrary [Throwable] exception.
*/
@Suppress("NON_PUBLIC_PRIMARY_CONSTRUCTOR_OF_INLINE_CLASS")
@SinceKotlin("1.3")
public inline class Result<out T> @PublishedApi internal constructor(
@PublishedApi