Advance ObsoleteNativeApi opt-in requirement level to ERROR #KT-57088

As a part of efforts to stabilize Native stdlib.
This commit is contained in:
Abduqodiri Qurbonzoda
2023-06-16 17:46:29 +03:00
committed by Space Team
parent d04ed56a4d
commit 00abbc5cfe
2 changed files with 2 additions and 3 deletions
@@ -13,7 +13,7 @@ import kotlin.annotation.AnnotationTarget.*
* This is an internal copy of the public K/N annotation.
* It is used to [OptIn] obsolete K/N API used in the shared native-wasm directory.
*/
@RequiresOptIn(message = "This API is obsolete and subject to removal in a future release.", level = RequiresOptIn.Level.WARNING)
@RequiresOptIn(message = "This API is obsolete and subject to removal in a future release.", level = RequiresOptIn.Level.ERROR)
@Retention(AnnotationRetention.BINARY)
@Target(
AnnotationTarget.CLASS,