Skip to content

Commit 7e5fb1e

Browse files
ringaboutPMunch
authored andcommitted
suppress deprecated warnings (nim-lang#19408)
* suppress deprecated warnings once bump version to 1.7.3 enable deprecated messages * deprecate later
1 parent 88128f1 commit 7e5fb1e

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

lib/system.nim

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -213,8 +213,7 @@ proc `addr`*[T](x: T): ptr T {.magic: "Addr", noSideEffect.} =
213213
## echo p[] # b
214214
discard
215215

216-
proc unsafeAddr*[T](x: T): ptr T {.magic: "Addr", noSideEffect,
217-
deprecated: "'unsafeAddr' is a deprecated alias for 'addr'".} =
216+
proc unsafeAddr*[T](x: T): ptr T {.magic: "Addr", noSideEffect.} =
218217
## Builtin `addr` operator for taking the address of a memory
219218
## location.
220219
##

0 commit comments

Comments
 (0)