about summary refs log tree commit diff
path: root/compiler/rustc_mir/src/transform/coverage/debug.rs
diff options
context:
space:
mode:
authorAyrton <a.munoz3327@gmail.com>2020-11-01 23:14:21 -0400
committerAyrton <a.munoz3327@gmail.com>2020-11-01 23:50:17 -0400
commitace02c40f0d5970c46aaee74f7ee2fb27480c783 (patch)
treea840775c10370f8a147675774852f3b8766f7fe5 /compiler/rustc_mir/src/transform/coverage/debug.rs
parent3d0682b97a3a03bcf54337b56002fb6b2b0ce244 (diff)
downloadrust-ace02c40f0d5970c46aaee74f7ee2fb27480c783.tar.gz
rust-ace02c40f0d5970c46aaee74f7ee2fb27480c783.zip
Corrected suggestion for generic parameters in `function_item_references` lint
This lint was incorrectly suggesting casting a function to a pointer without
specifying generic type parameters or const generics. This would cause a
compiler error since the missing parameters couldn't be inferred. This commit
fixed the suggestion and added a few tests with generics.
Diffstat (limited to 'compiler/rustc_mir/src/transform/coverage/debug.rs')
0 files changed, 0 insertions, 0 deletions