# Haskey is deprecated, use Target instead

**URL:** <https://discourse.julialang.org/t/haskey-is-deprecated-use-target-instead/42273>\
**Category:** General Usage\
**Tags:** deprecation\
**Created:** [June 29, 2020, 9:27pm UTC](https://discourse.julialang.org/t/haskey-is-deprecated-use-target-instead/42273 "2020-06-29T21:27:47Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![deveshjawla](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/deveshjawla/32/16048_2.png) [@deveshjawla](https://discourse.julialang.org/u/deveshjawla)\
**Post date:** [June 29, 2020, 9:27pm UTC](https://discourse.julialang.org/t/haskey-is-deprecated-use-target-instead/42273/1 "2020-06-29T21:27:47Z")

</div>

![Screenshot from 2020-06-29 23-23-46](https://global.discourse-cdn.com/julialang/original/3X/7/e/7e3bc7b35f79e655e956c391104a4e0802540f7a.png)

I get this warning ever since I added CUDA.jl.

How to make sense of a warning in Julia?

---

<div class="post-metadata">

**Author:** ![jling](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/jling/32/212909_2.png) [@jling](https://discourse.julialang.org/u/jling)\
**Post date:** [June 29, 2020, 11:28pm UTC](https://discourse.julialang.org/t/haskey-is-deprecated-use-target-instead/42273/2 "2020-06-29T23:28:23Z")

</div>

in this case it’s just a deprecation warning, since this is cause by code in `CUDA.jl`, no need to worry for your (user’s) end, next release will likely fix it.
