You can use the `@deprecate` macro to print a deprecation warning. The deprecation declarations are consolidated into the `base/deprecated.jl` file to make them easy to find.