about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
diff options
context:
space:
mode:
authorAyrton <a.munoz3327@gmail.com>2020-09-10 22:53:14 -0400
committerAyrton <a.munoz3327@gmail.com>2020-10-27 11:04:04 -0400
commit3214de735969602ddf2625ca500ff8d3ec57a745 (patch)
tree7c9d4151373a76802c659f980dd0a21169fb5bb9 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parent975547d475fcb3a7c6e440be5f8de3bf0497d383 (diff)
downloadrust-3214de735969602ddf2625ca500ff8d3ec57a745.tar.gz
rust-3214de735969602ddf2625ca500ff8d3ec57a745.zip
modified lint to work with MIR
Working with MIR let's us exclude expressions like `&fn_name as &dyn Something`
and `(&fn_name)()`. Also added ABI, unsafety and whether a function is variadic
in the lint suggestion, included the `&` in the span of the lint and updated the
test.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions