@@ -16,6 +16,18 @@ note: the lint level is defined here
1616LL | #![deny(rustdoc::broken_intra_doc_links)]
1717 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1818
19+ error: unresolved link to `Env::try_invoke`
20+ --> $DIR/deprecated-note-from-reexported.rs:29:25
21+ |
22+ LL | #[deprecated(note = "use [Env::try_invoke] instead")]
23+ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
24+ |
25+ = note: the link appears in this line:
26+
27+ use [Env::try_invoke] instead
28+ ^^^^^^^^^^^^^^^
29+ = note: no item named `Env` in scope
30+
1931error: unresolved link to `define_sql_function`
2032 --> $DIR/deprecated-note-from-reexported.rs:12:25
2133 |
@@ -30,5 +42,18 @@ LL | #[deprecated(note = "Use [`define_sql_function`] instead")]
3042 = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
3143 = note: duplicate diagnostic emitted due to `-Z deduplicate-diagnostics=no`
3244
33- error: aborting due to 2 previous errors
45+ error: unresolved link to `Env::try_invoke`
46+ --> $DIR/deprecated-note-from-reexported.rs:29:25
47+ |
48+ LL | #[deprecated(note = "use [Env::try_invoke] instead")]
49+ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
50+ |
51+ = note: the link appears in this line:
52+
53+ use [Env::try_invoke] instead
54+ ^^^^^^^^^^^^^^^
55+ = note: no item named `Env` in scope
56+ = note: duplicate diagnostic emitted due to `-Z deduplicate-diagnostics=no`
57+
58+ error: aborting due to 4 previous errors
3459
0 commit comments