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
|
## echo p[] # b
|
||||||
discard
|
discard
|
||||||
|
|
||||||
proc unsafeAddr*[T](x: T): ptr T {.magic: "Addr", noSideEffect,
|
proc unsafeAddr*[T](x: T): ptr T {.magic: "Addr", noSideEffect.} =
|
||||||
deprecated: "'unsafeAddr' is a deprecated alias for 'addr'".} =
|
|
||||||
## Builtin `addr` operator for taking the address of a memory
|
## Builtin `addr` operator for taking the address of a memory
|
||||||
## location.
|
## location.
|
||||||
##
|
##
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue