about summary refs log tree commit diff
path: root/tests/ui/autodiff/visibility.std_autodiff.stderr
blob: e45f1139012a6d1d9768557780b900cce12ec452 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
error[E0252]: the name `autodiff_forward` is defined multiple times
  --> $DIR/visibility.rs:11:5
   |
LL | use std::autodiff::autodiff_forward;
   |     ------------------------------- previous import of the macro `autodiff_forward` here
LL | extern crate my_macro;
LL | use my_macro::autodiff_forward; // bring `autodiff_forward` in scope
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^ `autodiff_forward` reimported here
   |
   = note: `autodiff_forward` must be defined only once in the macro namespace of this module
help: you can use `as` to change the binding name of the import
   |
LL | use my_macro::autodiff_forward as other_autodiff_forward; // bring `autodiff_forward` in scope
   |                                +++++++++++++++++++++++++

error: this rustc version does not support autodiff
  --> $DIR/visibility.rs:13:1
   |
LL | #[autodiff_forward(dfoo)]
   | ^^^^^^^^^^^^^^^^^^^^^^^^^

error: aborting due to 2 previous errors

For more information about this error, try `rustc --explain E0252`.