diff --git a/base/expr.jl b/base/expr.jl index a6d4b23e47c26..9ca87782092ca 100644 --- a/base/expr.jl +++ b/base/expr.jl @@ -290,7 +290,7 @@ end end Base.@noinfer f(@nospecialize args...) = ... -Tells the compiler to infer `f` only with the precisely the declared types of arguments. +Tells the compiler to infer `f` only with the precisely declared types of arguments. It can eliminate a latency problem due to excessive inference that can happen when the compiler sees a considerable complexity of argument types during inference. Note that this macro only has effect when used together with [`@nospecialize`](@ref),