suppress deprecated warnings (#19408)
* suppress deprecated warnings once bump version to 1.7.3 enable deprecated messages * deprecate later
This commit is contained in:
parent
aac54b9c7f
commit
b3c178c202
1 changed files with 1 additions and 2 deletions
|
|
@ -213,8 +213,7 @@ proc `addr`*[T](x: T): ptr T {.magic: "Addr", noSideEffect.} =
|
|||
## echo p[] # b
|
||||
discard
|
||||
|
||||
proc unsafeAddr*[T](x: T): ptr T {.magic: "Addr", noSideEffect,
|
||||
deprecated: "'unsafeAddr' is a deprecated alias for 'addr'".} =
|
||||
proc unsafeAddr*[T](x: T): ptr T {.magic: "Addr", noSideEffect.} =
|
||||
## Builtin `addr` operator for taking the address of a memory
|
||||
## location.
|
||||
##
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue