blob: 231381a1c902a82530ce9e76c39b18ede9956d68 [file]
error: the `debugger_visualizer` attribute cannot be used on functions
--> $DIR/invalid-debugger-visualizer-target.rs:1:3
|
LL | #[debugger_visualizer(natvis_file = "./foo.natvis.xml")]
| ^^^^^^^^^^^^^^^^^^^
LL |
LL | fn main() {}
|
= help: the `debugger_visualizer` attribute can be applied to crates and modules
error: aborting due to 1 previous error