Commit Graph

2943 Commits

Author SHA1 Message Date
David Tolnay
3cb0d42b3e
Merge pull request #1064 from luckyuro/master
make #derive before #attr when expand to avoid warning legacy_derive_helpers
2022-07-06 07:17:58 -07:00
abbform
0bbc34bc25 make #derive before #attr when derive 2022-07-06 21:58:48 +08:00
David Tolnay
ac89872316
Release 1.0.70 2022-07-04 09:56:31 -07:00
David Tolnay
2a165ef375
Run quote build script 2022-07-04 09:49:07 -07:00
David Tolnay
c45bd4428e
Lockfile update 2022-07-04 09:46:50 -07:00
David Tolnay
cc81e8cf70
Merge pull request #1062 from dtolnay/attrs
Clippy attrs on extern "Rust" blocks
2022-07-04 09:43:02 -07:00
David Tolnay
30427e0205
Propagate attrs from extern mod onto all contents
#[cxx::bridge]
    mod ffi {
        #[allow(clippy::too_many_arguments)]
        extern "Rust" {
            fn repro(a: i32, b: i32, c: i32, d: i32, e: i32, f: i32, g: i32, h: i32) -> bool;
        }
    }

Before:

    warning: this function has too many arguments (8/7)
     --> src/main.rs:5:12
      |
    5 |         fn repro(a: i32, b: i32, c: i32, d: i32, e: i32, f: i32, g: i32, h: i32) -> bool;
      |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      |
      = note: `#[warn(clippy::too_many_arguments)]` on by default
      = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments

After: no lint.
2022-07-04 09:33:54 -07:00
David Tolnay
66ba9a0a66
Preserve clippy attrs on extern "Rust" fn
#[cxx::bridge]
    mod ffi {
        extern "Rust" {
            #[allow(clippy::too_many_arguments)]
            fn repro(a: i32, b: i32, c: i32, d: i32, e: i32, f: i32, g: i32, h: i32) -> bool;
        }
    }

Before:

    warning: this function has too many arguments (8/7)
     --> src/main.rs:5:12
      |
    5 |         fn repro(a: i32, b: i32, c: i32, d: i32, e: i32, f: i32, g: i32, h: i32) -> bool;
      |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      |
      = note: `#[warn(clippy::too_many_arguments)]` on by default
      = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_many_arguments

After: no lint.
2022-07-04 09:33:40 -07:00
David Tolnay
d8892fecd3
Ignore explicit_auto_deref clippy lint
error: deref which would be done by auto-deref
      --> gen/build/src/intern.rs:23:27
       |
    23 |         Some(interned) => *interned,
       |                           ^^^^^^^^^ help: try this: `interned`
       |
       = note: `-D clippy::explicit-auto-deref` implied by `-D clippy::all`
       = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
2022-07-01 20:01:48 -07:00
David Tolnay
65d50f275f
Update ui test suite to nightly-2022-07-02 2022-07-01 19:35:47 -07:00
David Tolnay
98c5161a7d
Disable pc-windows-gnu CI for now
Currently failing in GitHub Actions with:

    Compiling demo v0.0.0 (D:\a\cxx\cxx\demo)
     Finished dev [unoptimized + debuginfo] target(s) in 1m 57s
      Running `target\debug\demo.exe`
    error: process didn't exit successfully: `target\debug\demo.exe` (exit code: 0xc0000139, STATUS_ENTRYPOINT_NOT_FOUND)
    Error: Process completed with exit code 1.
2022-06-24 00:25:52 -07:00
David Tolnay
5d50b94280
Release 1.0.69 2022-06-17 23:56:34 -07:00
David Tolnay
ad0d6ba6de
Lockfile update 2022-06-17 23:55:17 -07:00
David Tolnay
52dfbe177c
Merge pull request #1060 from dtolnay/clap
Update to clap 3.2
2022-06-17 23:52:10 -07:00
David Tolnay
2a606a3e42
Update to clap 3.2 2022-06-17 23:40:34 -07:00
David Tolnay
f1d7bff5ba
Require explicit edition on all Buck targets 2022-06-17 23:25:32 -07:00
David Tolnay
5ceda9a122
Update oldest allowed compiler for cxxbridge-cmd to 1.56.1 2022-06-17 22:31:31 -07:00
David Tolnay
287ae044fe
Use upstreamed docs.rs icon in docs.rs badge 2022-06-11 10:17:10 -07:00
David Tolnay
1526d5bad2
Ignore significant_drop_in_scrutinee clippy lint
error: temporary with significant drop in match scrutinee
      --> gen/build/src/intern.rs:22:26
       |
    22 |     InternedString(match set.get(s) {
       |                          ^^^^^^^^^^
       |
       = note: `-D clippy::significant-drop-in-scrutinee` implied by `-D clippy::all`
       = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#significant_drop_in_scrutinee
2022-06-06 23:50:12 -07:00
David Tolnay
13998f0482
Check all crates in workspace for outdated deps 2022-06-06 14:39:20 -07:00
David Tolnay
fb6db7d11e
Delete unpin_impl.rs UI test temporarily
This test is affected by an ICE in nightly-2022-06-04.
https://github.com/rust-lang/rust/issues/97698

Minimized repro:

    trait Ambiguous<A> {
        fn method() {}
    }

    struct One;
    struct Two;
    struct Struct;

    impl Ambiguous<One> for Struct {}
    impl Ambiguous<Two> for Struct {}

    fn main() {
        <Struct as Ambiguous<_>>::method();
    }

Correct error in nightly-2022-06-03:

    error[E0282]: type annotations needed
      --> src/main.rs:13:26
       |
    13 |     <Struct as Ambiguous<_>>::method();
       |                          ^ cannot infer type

    error[E0283]: type annotations needed
      --> src/main.rs:13:5
       |
    13 |     <Struct as Ambiguous<_>>::method();
       |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type
       |
    note: multiple `impl`s satisfying `Struct: Ambiguous<_>` found
      --> src/main.rs:9:1
       |
    9  | impl Ambiguous<One> for Struct {}
       | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    10 | impl Ambiguous<Two> for Struct {}
       | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

ICE in nightly-2022-06-04:

    thread 'rustc' panicked at 'range end index 2 out of range for slice of length 1', library/core/src/slice/index.rs:73:5
    stack backtrace:
      16:     0x7f4cccefd816 - core::slice::index::slice_end_index_len_fail_rt::h04ca4b0b6ddf070e
      17:     0x7f4ccceef707 - core::ops::function::FnOnce::call_once::hb4cbec441e0e0d97
      18:     0x7f4cccef6516 - core::intrinsics::const_eval_select::h2fab5eaa67d7a905
      19:     0x7f4ccce67556 - core::slice::index::slice_end_index_len_fail::ha1557d304be1c61e
      20:     0x7f4cce5ea20f - <rustc_infer[9b42245fee805938]::infer::error_reporting::need_type_info::FindInferSourceVisitor as rustc_hir[5dbb21eaf9590c92]::intravisit::Visitor>::visit_expr
      21:     0x7f4cce5e8edc - <rustc_infer[9b42245fee805938]::infer::error_reporting::need_type_info::FindInferSourceVisitor as rustc_hir[5dbb21eaf9590c92]::intravisit::Visitor>::visit_expr
      22:     0x7f4cce5fbe37 - rustc_hir[5dbb21eaf9590c92]::intravisit::walk_block::<rustc_infer[9b42245fee805938]::infer::error_reporting::need_type_info::FindInferSourceVisitor>
      23:     0x7f4cce5e8eee - <rustc_infer[9b42245fee805938]::infer::error_reporting::need_type_info::FindInferSourceVisitor as rustc_hir[5dbb21eaf9590c92]::intravisit::Visitor>::visit_expr
      24:     0x7f4cce5a1714 - <rustc_infer[9b42245fee805938]::infer::InferCtxt>::emit_inference_failure_err
      25:     0x7f4cce4f32bb - <rustc_infer[9b42245fee805938]::infer::InferCtxt as rustc_trait_selection[af2ed82902f8af73]::traits::error_reporting::InferCtxtPrivExt>::maybe_report_ambiguity
      26:     0x7f4cce4e6f87 - <rustc_infer[9b42245fee805938]::infer::InferCtxt as rustc_trait_selection[af2ed82902f8af73]::traits::error_reporting::InferCtxtExt>::report_fulfillment_errors
      27:     0x7f4ccec3fcb4 - <rustc_infer[9b42245fee805938]::infer::InferCtxtBuilder>::enter::<&rustc_middle[c4bb946b42085c78]::ty::context::TypeckResults, <rustc_typeck[4b1a1a7c06e44333]::check::inherited::InheritedBuilder>::enter<rustc_typeck[4b1a1a7c06e44333]::check::typeck_with_fallback<rustc_typeck[4b1a1a7c06e44333]::check::typeck::{closure#0}>::{closure#1}, &rustc_middle[c4bb946b42085c78]::ty::context::TypeckResults>::{closure#0}>
      28:     0x7f4ccebd170a - rustc_typeck[4b1a1a7c06e44333]::check::typeck
      29:     0x7f4ccfccf5f0 - <rustc_query_system[a1cbf340ec6d6f93]::dep_graph::graph::DepGraph<rustc_middle[c4bb946b42085c78]::dep_graph::dep_node::DepKind>>::with_task::<rustc_middle[c4bb946b42085c78]::ty::context::TyCtxt, rustc_span[c774ced8c61a5d44]::def_id::LocalDefId, &rustc_middle[c4bb946b42085c78]::ty::context::TypeckResults>
      30:     0x7f4ccf1f8380 - rustc_query_system[a1cbf340ec6d6f93]::query::plumbing::try_execute_query::<rustc_query_impl[f03dd36fb3d62396]::plumbing::QueryCtxt, rustc_query_system[a1cbf340ec6d6f93]::query::caches::DefaultCache<rustc_span[c774ced8c61a5d44]::def_id::LocalDefId, &rustc_middle[c4bb946b42085c78]::ty::context::TypeckResults>>
      31:     0x7f4ccf123c0e - <rustc_query_impl[f03dd36fb3d62396]::Queries as rustc_middle[c4bb946b42085c78]::ty::query::QueryEngine>::typeck
      32:     0x7f4ccec91708 - <rustc_middle[c4bb946b42085c78]::hir::map::Map>::par_body_owners::<rustc_typeck[4b1a1a7c06e44333]::check::typeck_item_bodies::{closure#0}>
      33:     0x7f4ccfa8e18c - rustc_typeck[4b1a1a7c06e44333]::check::typeck_item_bodies
      34:     0x7f4ccfcee823 - <rustc_query_system[a1cbf340ec6d6f93]::dep_graph::graph::DepGraph<rustc_middle[c4bb946b42085c78]::dep_graph::dep_node::DepKind>>::with_task::<rustc_middle[c4bb946b42085c78]::ty::context::TyCtxt, (), ()>
      35:     0x7f4ccfd991d5 - rustc_query_system[a1cbf340ec6d6f93]::query::plumbing::try_execute_query::<rustc_query_impl[f03dd36fb3d62396]::plumbing::QueryCtxt, rustc_query_system[a1cbf340ec6d6f93]::query::caches::DefaultCache<(), ()>>
      36:     0x7f4ccfdc3331 - rustc_query_system[a1cbf340ec6d6f93]::query::plumbing::get_query::<rustc_query_impl[f03dd36fb3d62396]::queries::typeck_item_bodies, rustc_query_impl[f03dd36fb3d62396]::plumbing::QueryCtxt>
      37:     0x7f4ccfac4473 - <rustc_session[d1b76e352c1a3b5b]::session::Session>::time::<(), rustc_typeck[4b1a1a7c06e44333]::check_crate::{closure#7}>
      38:     0x7f4ccfab109b - rustc_typeck[4b1a1a7c06e44333]::check_crate
      39:     0x7f4ccf86b017 - rustc_interface[94703aee012e7483]::passes::analysis
      40:     0x7f4ccfcea595 - <rustc_query_system[a1cbf340ec6d6f93]::dep_graph::graph::DepGraph<rustc_middle[c4bb946b42085c78]::dep_graph::dep_node::DepKind>>::with_task::<rustc_middle[c4bb946b42085c78]::ty::context::TyCtxt, (), core[c8091fc9dea0c6cf]::result::Result<(), rustc_errors[ae611370a546922c]::ErrorGuaranteed>>
      41:     0x7f4ccfd8f1fd - rustc_query_system[a1cbf340ec6d6f93]::query::plumbing::try_execute_query::<rustc_query_impl[f03dd36fb3d62396]::plumbing::QueryCtxt, rustc_query_system[a1cbf340ec6d6f93]::query::caches::DefaultCache<(), core[c8091fc9dea0c6cf]::result::Result<(), rustc_errors[ae611370a546922c]::ErrorGuaranteed>>>
      42:     0x7f4ccfdd58ee - rustc_query_system[a1cbf340ec6d6f93]::query::plumbing::get_query::<rustc_query_impl[f03dd36fb3d62396]::queries::analysis, rustc_query_impl[f03dd36fb3d62396]::plumbing::QueryCtxt>
      43:     0x7f4ccf8282a7 - <rustc_interface[94703aee012e7483]::passes::QueryContext>::enter::<rustc_driver[7b89ea061d8aedc7]::run_compiler::{closure#1}::{closure#2}::{closure#3}, core[c8091fc9dea0c6cf]::result::Result<(), rustc_errors[ae611370a546922c]::ErrorGuaranteed>>
      44:     0x7f4ccf81234f - <rustc_interface[94703aee012e7483]::interface::Compiler>::enter::<rustc_driver[7b89ea061d8aedc7]::run_compiler::{closure#1}::{closure#2}, core[c8091fc9dea0c6cf]::result::Result<core[c8091fc9dea0c6cf]::option::Option<rustc_interface[94703aee012e7483]::queries::Linker>, rustc_errors[ae611370a546922c]::ErrorGuaranteed>>
      45:     0x7f4ccf83bd3f - rustc_span[c774ced8c61a5d44]::with_source_map::<core[c8091fc9dea0c6cf]::result::Result<(), rustc_errors[ae611370a546922c]::ErrorGuaranteed>, rustc_interface[94703aee012e7483]::interface::create_compiler_and_run<core[c8091fc9dea0c6cf]::result::Result<(), rustc_errors[ae611370a546922c]::ErrorGuaranteed>, rustc_driver[7b89ea061d8aedc7]::run_compiler::{closure#1}>::{closure#1}>
      46:     0x7f4ccf8131e2 - <scoped_tls[a35f89285f520bf3]::ScopedKey<rustc_span[c774ced8c61a5d44]::SessionGlobals>>::set::<rustc_interface[94703aee012e7483]::interface::run_compiler<core[c8091fc9dea0c6cf]::result::Result<(), rustc_errors[ae611370a546922c]::ErrorGuaranteed>, rustc_driver[7b89ea061d8aedc7]::run_compiler::{closure#1}>::{closure#0}, core[c8091fc9dea0c6cf]::result::Result<(), rustc_errors[ae611370a546922c]::ErrorGuaranteed>>
      47:     0x7f4ccf82893f - std[f19dd7bb03296d5c]::sys_common::backtrace::__rust_begin_short_backtrace::<rustc_interface[94703aee012e7483]::util::run_in_thread_pool_with_globals<rustc_interface[94703aee012e7483]::interface::run_compiler<core[c8091fc9dea0c6cf]::result::Result<(), rustc_errors[ae611370a546922c]::ErrorGuaranteed>, rustc_driver[7b89ea061d8aedc7]::run_compiler::{closure#1}>::{closure#0}, core[c8091fc9dea0c6cf]::result::Result<(), rustc_errors[ae611370a546922c]::ErrorGuaranteed>>::{closure#0}, core[c8091fc9dea0c6cf]::result::Result<(), rustc_errors[ae611370a546922c]::ErrorGuaranteed>>
      48:     0x7f4ccf828a99 - <<std[f19dd7bb03296d5c]:🧵:Builder>::spawn_unchecked_<rustc_interface[94703aee012e7483]::util::run_in_thread_pool_with_globals<rustc_interface[94703aee012e7483]::interface::run_compiler<core[c8091fc9dea0c6cf]::result::Result<(), rustc_errors[ae611370a546922c]::ErrorGuaranteed>, rustc_driver[7b89ea061d8aedc7]::run_compiler::{closure#1}>::{closure#0}, core[c8091fc9dea0c6cf]::result::Result<(), rustc_errors[ae611370a546922c]::ErrorGuaranteed>>::{closure#0}, core[c8091fc9dea0c6cf]::result::Result<(), rustc_errors[ae611370a546922c]::ErrorGuaranteed>>::{closure#1} as core[c8091fc9dea0c6cf]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}

    error: internal compiler error: unexpected panic

    note: the compiler unexpectedly panicked. this is a bug.

    note: we would appreciate a bug report: https://github.com/rust-lang/rust/issues/new?labels=C-bug%2C+I-ICE%2C+T-compiler&template=ice.md

    note: rustc 1.63.0-nightly (a6b8c6954 2022-06-03) running on x86_64-unknown-linux-gnu

    note: compiler flags: --crate-type bin -C embed-bitcode=no -C debuginfo=2 -C incremental

    note: some of the compiler flags provided by cargo are hidden

    query stack during panic:
    #0 [typeck] type-checking `main`
    #1 [typeck_item_bodies] type-checking all item bodies
    #2 [analysis] running analysis passes on this crate
    end of query stack
2022-06-04 00:46:02 -07:00
David Tolnay
3e7e454d83
Drop unneeded permissions from workflow 2022-05-23 04:50:16 -07:00
David Tolnay
b305ae7741
Ignore derive_partial_eq_without_eq clippy lint
error: you are deriving `PartialEq` and can implement `Eq`
     --> gen/lib/src/gen/block.rs:3:23
      |
    3 | #[derive(Copy, Clone, PartialEq, Debug)]
      |                       ^^^^^^^^^ help: consider deriving `Eq` as well: `PartialEq, Eq`
      |
      = note: `-D clippy::derive-partial-eq-without-eq` implied by `-D clippy::all`
      = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derive_partial_eq_without_eq

    error: you are deriving `PartialEq` and can implement `Eq`
     --> gen/cmd/src/gen/block.rs:3:23
      |
    3 | #[derive(Copy, Clone, PartialEq, Debug)]
      |                       ^^^^^^^^^ help: consider deriving `Eq` as well: `PartialEq, Eq`
      |
      = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derive_partial_eq_without_eq

    error: you are deriving `PartialEq` and can implement `Eq`
     --> gen/build/src/gen/block.rs:3:23
      |
    3 | #[derive(Copy, Clone, PartialEq, Debug)]
      |                       ^^^^^^^^^ help: consider deriving `Eq` as well: `PartialEq, Eq`
      |
      = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derive_partial_eq_without_eq

    error: you are deriving `PartialEq` and can implement `Eq`
     --> gen/lib/src/syntax/atom.rs:5:23
      |
    5 | #[derive(Copy, Clone, PartialEq)]
      |                       ^^^^^^^^^ help: consider deriving `Eq` as well: `PartialEq, Eq`
      |
      = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derive_partial_eq_without_eq

    error: you are deriving `PartialEq` and can implement `Eq`
      --> gen/lib/src/syntax/derive.rs:10:23
       |
    10 | #[derive(Copy, Clone, PartialEq)]
       |                       ^^^^^^^^^ help: consider deriving `Eq` as well: `PartialEq, Eq`
       |
       = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derive_partial_eq_without_eq

    error: you are deriving `PartialEq` and can implement `Eq`
     --> gen/cmd/src/syntax/atom.rs:5:23
      |
    5 | #[derive(Copy, Clone, PartialEq)]
      |                       ^^^^^^^^^ help: consider deriving `Eq` as well: `PartialEq, Eq`
      |
      = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derive_partial_eq_without_eq

    error: you are deriving `PartialEq` and can implement `Eq`
     --> gen/build/src/syntax/atom.rs:5:23
      |
    5 | #[derive(Copy, Clone, PartialEq)]
      |                       ^^^^^^^^^ help: consider deriving `Eq` as well: `PartialEq, Eq`
      |
      = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derive_partial_eq_without_eq

    error: you are deriving `PartialEq` and can implement `Eq`
      --> gen/cmd/src/syntax/derive.rs:10:23
       |
    10 | #[derive(Copy, Clone, PartialEq)]
       |                       ^^^^^^^^^ help: consider deriving `Eq` as well: `PartialEq, Eq`
       |
       = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derive_partial_eq_without_eq

    error: you are deriving `PartialEq` and can implement `Eq`
      --> gen/build/src/syntax/derive.rs:10:23
       |
    10 | #[derive(Copy, Clone, PartialEq)]
       |                       ^^^^^^^^^ help: consider deriving `Eq` as well: `PartialEq, Eq`
       |
       = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derive_partial_eq_without_eq

    error: you are deriving `PartialEq` and can implement `Eq`
      --> gen/lib/src/syntax/mod.rs:72:23
       |
    72 | #[derive(Copy, Clone, PartialEq, Debug)]
       |                       ^^^^^^^^^ help: consider deriving `Eq` as well: `PartialEq, Eq`
       |
       = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derive_partial_eq_without_eq

    error: you are deriving `PartialEq` and can implement `Eq`
       --> gen/lib/src/syntax/mod.rs:285:23
        |
    285 | #[derive(Copy, Clone, PartialEq)]
        |                       ^^^^^^^^^ help: consider deriving `Eq` as well: `PartialEq, Eq`
        |
        = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derive_partial_eq_without_eq

    error: you are deriving `PartialEq` and can implement `Eq`
      --> gen/cmd/src/syntax/mod.rs:72:23
       |
    72 | #[derive(Copy, Clone, PartialEq, Debug)]
       |                       ^^^^^^^^^ help: consider deriving `Eq` as well: `PartialEq, Eq`
       |
       = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derive_partial_eq_without_eq

    error: you are deriving `PartialEq` and can implement `Eq`
       --> gen/cmd/src/syntax/mod.rs:285:23
        |
    285 | #[derive(Copy, Clone, PartialEq)]
        |                       ^^^^^^^^^ help: consider deriving `Eq` as well: `PartialEq, Eq`
        |
        = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derive_partial_eq_without_eq

    error: you are deriving `PartialEq` and can implement `Eq`
      --> gen/build/src/syntax/mod.rs:72:23
       |
    72 | #[derive(Copy, Clone, PartialEq, Debug)]
       |                       ^^^^^^^^^ help: consider deriving `Eq` as well: `PartialEq, Eq`
       |
       = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derive_partial_eq_without_eq

    error: you are deriving `PartialEq` and can implement `Eq`
       --> gen/build/src/syntax/mod.rs:285:23
        |
    285 | #[derive(Copy, Clone, PartialEq)]
        |                       ^^^^^^^^^ help: consider deriving `Eq` as well: `PartialEq, Eq`
        |
        = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derive_partial_eq_without_eq

    error: you are deriving `PartialEq` and can implement `Eq`
     --> macro/src/syntax/atom.rs:5:23
      |
    5 | #[derive(Copy, Clone, PartialEq)]
      |                       ^^^^^^^^^ help: consider deriving `Eq` as well: `PartialEq, Eq`
      |
      = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derive_partial_eq_without_eq

    error: you are deriving `PartialEq` and can implement `Eq`
      --> macro/src/syntax/derive.rs:10:23
       |
    10 | #[derive(Copy, Clone, PartialEq)]
       |                       ^^^^^^^^^ help: consider deriving `Eq` as well: `PartialEq, Eq`
       |
       = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derive_partial_eq_without_eq

    error: you are deriving `PartialEq` and can implement `Eq`
      --> macro/src/syntax/mod.rs:72:23
       |
    72 | #[derive(Copy, Clone, PartialEq, Debug)]
       |                       ^^^^^^^^^ help: consider deriving `Eq` as well: `PartialEq, Eq`
       |
       = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derive_partial_eq_without_eq

    error: you are deriving `PartialEq` and can implement `Eq`
       --> macro/src/syntax/mod.rs:285:23
        |
    285 | #[derive(Copy, Clone, PartialEq)]
        |                       ^^^^^^^^^ help: consider deriving `Eq` as well: `PartialEq, Eq`
        |
        = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derive_partial_eq_without_eq
2022-05-21 19:58:53 -07:00
David Tolnay
2a197e7688
Replace unicode-xid with unicode-ident crate 2022-05-16 15:43:42 -07:00
David Tolnay
aa85818fcc
Lockfile update 2022-05-16 15:40:31 -07:00
David Tolnay
d4920548a7
Release 1.0.68 2022-05-13 16:45:29 -07:00
David Tolnay
7455a976f7
Lockfile update 2022-05-13 16:43:47 -07:00
David Tolnay
13cc5d9df9
Resolve unused_attributes lints in generated code
warning: `#[doc(hidden)]` is ignored on trait impl items
      --> tests/ffi/module.rs:74:23
       |
    74 |     impl UniquePtr<D> {}
       |                       ^^ help: remove this attribute
       |
       = note: `#[warn(unused_attributes)]` on by default
       = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
       = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item

    warning: `#[doc(hidden)]` is ignored on trait impl items
      --> tests/ffi/module.rs:75:23
       |
    75 |     impl UniquePtr<E> {}
       |                       ^^ help: remove this attribute
       |
       = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
       = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item

    warning: `#[doc(hidden)]` is ignored on trait impl items
      --> tests/ffi/module.rs:76:23
       |
    76 |     impl UniquePtr<F> {}
       |                       ^^ help: remove this attribute
       |
       = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
       = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item

    warning: `#[doc(hidden)]` is ignored on trait impl items
      --> tests/ffi/module.rs:77:23
       |
    77 |     impl UniquePtr<G> {}
       |                       ^^ help: remove this attribute
       |
       = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
       = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item

    warning: `#[doc(hidden)]` is ignored on trait impl items
      --> tests/ffi/module.rs:57:51
       |
    57 |         fn c_return_ns_unique_ptr() -> UniquePtr<H>;
       |                                                   ^ help: remove this attribute
       |
       = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
       = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item

    warning: `#[doc(hidden)]` is ignored on trait impl items
      --> tests/ffi/module.rs:71:54
       |
    71 |         fn ns_c_return_unique_ptr_ns() -> UniquePtr<I>;
       |                                                      ^ help: remove this attribute
       |
       = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
       = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> tests/ffi/lib.rs:227:18
        |
    227 |         #[derive(ExternType)]
        |                  ^^^^^^^^^^ help: remove this attribute
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> tests/ffi/lib.rs:337:34
        |
    337 |     impl CxxVector<SharedString> {}
        |                                  ^^ help: remove this attribute
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item

    warning: `#[doc(hidden)]` is ignored on trait impl items
      --> tests/ffi/lib.rs:99:48
       |
    99 |         fn c_return_unique_ptr() -> UniquePtr<C>;
       |                                                ^ help: remove this attribute
       |
       = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
       = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> tests/ffi/lib.rs💯48
        |
    100 |         fn c_return_shared_ptr() -> SharedPtr<C>;
        |                                                ^ help: remove this attribute
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> tests/ffi/lib.rs:112:77
        |
    112 |         fn c_return_unique_ptr_vector_shared() -> UniquePtr<CxxVector<Shared>>;
        |                                                                             ^^ help: remove this attribute
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> tests/ffi/lib.rs:113:72
        |
    113 |         fn c_return_unique_ptr_vector_opaque() -> UniquePtr<CxxVector<C>>;
        |                                                                        ^^ help: remove this attribute
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> tests/ffi/lib.rs:204:44
        |
    204 |         fn c_get_use_count(weak: &WeakPtr<C>) -> usize;
        |                                            ^ help: remove this attribute
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> tests/ffi/lib.rs:234:72
        |
    234 |         fn c_return_borrow<'a>(s: &'a CxxString) -> UniquePtr<Borrow<'a>>;
        |                                                                        ^^ help: remove this attribute
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
2022-05-09 21:33:40 -07:00
David Tolnay
af2620ca03
Suppress bad unused_attributes lint on doc(hidden) attr
warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/extern_type.rs:194:17
        |
    194 |                   #[doc(hidden)]
        |                   ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    202 | / impl_extern_type! {
    203 | |     [Trivial]
    204 | |     bool = "bool"
    205 | |     u8 = "std::uint8_t"
    ...   |
    223 | |     CxxString = "std::string"
    224 | | }
        | |_- in this macro invocation
        |
        = note: `#[warn(unused_attributes)]` on by default
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_extern_type` (in Nightly builds, run with -Z macro-backtrace for more info)
2022-05-09 21:29:44 -07:00
David Tolnay
0b878ccec4
Remove doc(hidden) attribute that is being phased out
warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/cxx_vector.rs:400:13
        |
    400 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    489 | impl_vector_element_for_primitive!(u8);
        | -------------------------------------- in this macro invocation
        |
        = note: `#[warn(unused_attributes)]` on by default
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_vector_element` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/cxx_vector.rs:404:13
        |
    404 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    489 | impl_vector_element_for_primitive!(u8);
        | -------------------------------------- in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_vector_element` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/cxx_vector.rs:414:13
        |
    414 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    489 | impl_vector_element_for_primitive!(u8);
        | -------------------------------------- in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_vector_element` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/cxx_vector.rs:371:9
        |
    371 |         #[doc(hidden)]
        |         ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    489 | impl_vector_element_for_primitive!(u8);
        | -------------------------------------- in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `vector_element_by_value_methods` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/cxx_vector.rs:381:9
        |
    381 |         #[doc(hidden)]
        |         ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    489 | impl_vector_element_for_primitive!(u8);
        | -------------------------------------- in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `vector_element_by_value_methods` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/cxx_vector.rs:425:13
        |
    425 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    489 | impl_vector_element_for_primitive!(u8);
        | -------------------------------------- in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_vector_element` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/cxx_vector.rs:437:13
        |
    437 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    489 | impl_vector_element_for_primitive!(u8);
        | -------------------------------------- in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_vector_element` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/cxx_vector.rs:449:13
        |
    449 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    489 | impl_vector_element_for_primitive!(u8);
        | -------------------------------------- in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_vector_element` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/cxx_vector.rs:459:13
        |
    459 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    489 | impl_vector_element_for_primitive!(u8);
        | -------------------------------------- in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_vector_element` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/cxx_vector.rs:469:13
        |
    469 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    489 | impl_vector_element_for_primitive!(u8);
        | -------------------------------------- in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_vector_element` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/cxx_vector.rs:400:13
        |
    400 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    490 | impl_vector_element_for_primitive!(u16);
        | --------------------------------------- in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_vector_element` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/cxx_vector.rs:404:13
        |
    404 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    490 | impl_vector_element_for_primitive!(u16);
        | --------------------------------------- in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_vector_element` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/cxx_vector.rs:414:13
        |
    414 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    490 | impl_vector_element_for_primitive!(u16);
        | --------------------------------------- in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_vector_element` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/cxx_vector.rs:371:9
        |
    371 |         #[doc(hidden)]
        |         ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    490 | impl_vector_element_for_primitive!(u16);
        | --------------------------------------- in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `vector_element_by_value_methods` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/cxx_vector.rs:381:9
        |
    381 |         #[doc(hidden)]
        |         ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    490 | impl_vector_element_for_primitive!(u16);
        | --------------------------------------- in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `vector_element_by_value_methods` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/cxx_vector.rs:425:13
        |
    425 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    490 | impl_vector_element_for_primitive!(u16);
        | --------------------------------------- in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_vector_element` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/cxx_vector.rs:437:13
        |
    437 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    490 | impl_vector_element_for_primitive!(u16);
        | --------------------------------------- in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_vector_element` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/cxx_vector.rs:449:13
        |
    449 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    490 | impl_vector_element_for_primitive!(u16);
        | --------------------------------------- in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_vector_element` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/cxx_vector.rs:459:13
        |
    459 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    490 | impl_vector_element_for_primitive!(u16);
        | --------------------------------------- in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_vector_element` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/cxx_vector.rs:469:13
        |
    469 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    490 | impl_vector_element_for_primitive!(u16);
        | --------------------------------------- in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_vector_element` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/cxx_vector.rs:400:13
        |
    400 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    491 | impl_vector_element_for_primitive!(u32);
        | --------------------------------------- in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_vector_element` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/cxx_vector.rs:404:13
        |
    404 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    491 | impl_vector_element_for_primitive!(u32);
        | --------------------------------------- in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_vector_element` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/cxx_vector.rs:414:13
        |
    414 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    491 | impl_vector_element_for_primitive!(u32);
        | --------------------------------------- in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_vector_element` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/cxx_vector.rs:371:9
        |
    371 |         #[doc(hidden)]
        |         ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    491 | impl_vector_element_for_primitive!(u32);
        | --------------------------------------- in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `vector_element_by_value_methods` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/cxx_vector.rs:381:9
        |
    381 |         #[doc(hidden)]
        |         ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    491 | impl_vector_element_for_primitive!(u32);
        | --------------------------------------- in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `vector_element_by_value_methods` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/cxx_vector.rs:425:13
        |
    425 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    491 | impl_vector_element_for_primitive!(u32);
        | --------------------------------------- in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_vector_element` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/cxx_vector.rs:437:13
        |
    437 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    491 | impl_vector_element_for_primitive!(u32);
        | --------------------------------------- in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_vector_element` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/cxx_vector.rs:449:13
        |
    449 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    491 | impl_vector_element_for_primitive!(u32);
        | --------------------------------------- in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_vector_element` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/cxx_vector.rs:459:13
        |
    459 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    491 | impl_vector_element_for_primitive!(u32);
        | --------------------------------------- in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_vector_element` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/cxx_vector.rs:469:13
        |
    469 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    491 | impl_vector_element_for_primitive!(u32);
        | --------------------------------------- in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_vector_element` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/cxx_vector.rs:400:13
        |
    400 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    492 | impl_vector_element_for_primitive!(u64);
        | --------------------------------------- in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_vector_element` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/cxx_vector.rs:404:13
        |
    404 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    492 | impl_vector_element_for_primitive!(u64);
        | --------------------------------------- in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_vector_element` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/cxx_vector.rs:414:13
        |
    414 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    492 | impl_vector_element_for_primitive!(u64);
        | --------------------------------------- in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_vector_element` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/cxx_vector.rs:371:9
        |
    371 |         #[doc(hidden)]
        |         ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    492 | impl_vector_element_for_primitive!(u64);
        | --------------------------------------- in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `vector_element_by_value_methods` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/cxx_vector.rs:381:9
        |
    381 |         #[doc(hidden)]
        |         ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    492 | impl_vector_element_for_primitive!(u64);
        | --------------------------------------- in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `vector_element_by_value_methods` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/cxx_vector.rs:425:13
        |
    425 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    492 | impl_vector_element_for_primitive!(u64);
        | --------------------------------------- in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_vector_element` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/cxx_vector.rs:437:13
        |
    437 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    492 | impl_vector_element_for_primitive!(u64);
        | --------------------------------------- in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_vector_element` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/cxx_vector.rs:449:13
        |
    449 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    492 | impl_vector_element_for_primitive!(u64);
        | --------------------------------------- in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_vector_element` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/cxx_vector.rs:459:13
        |
    459 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    492 | impl_vector_element_for_primitive!(u64);
        | --------------------------------------- in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_vector_element` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/cxx_vector.rs:469:13
        |
    469 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    492 | impl_vector_element_for_primitive!(u64);
        | --------------------------------------- in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_vector_element` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/cxx_vector.rs:400:13
        |
    400 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    493 | impl_vector_element_for_primitive!(usize);
        | ----------------------------------------- in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_vector_element` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/cxx_vector.rs:404:13
        |
    404 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    493 | impl_vector_element_for_primitive!(usize);
        | ----------------------------------------- in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_vector_element` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/cxx_vector.rs:414:13
        |
    414 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    493 | impl_vector_element_for_primitive!(usize);
        | ----------------------------------------- in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_vector_element` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/cxx_vector.rs:371:9
        |
    371 |         #[doc(hidden)]
        |         ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    493 | impl_vector_element_for_primitive!(usize);
        | ----------------------------------------- in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `vector_element_by_value_methods` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/cxx_vector.rs:381:9
        |
    381 |         #[doc(hidden)]
        |         ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    493 | impl_vector_element_for_primitive!(usize);
        | ----------------------------------------- in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `vector_element_by_value_methods` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/cxx_vector.rs:425:13
        |
    425 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    493 | impl_vector_element_for_primitive!(usize);
        | ----------------------------------------- in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_vector_element` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/cxx_vector.rs:437:13
        |
    437 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    493 | impl_vector_element_for_primitive!(usize);
        | ----------------------------------------- in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_vector_element` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/cxx_vector.rs:449:13
        |
    449 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    493 | impl_vector_element_for_primitive!(usize);
        | ----------------------------------------- in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_vector_element` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/cxx_vector.rs:459:13
        |
    459 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    493 | impl_vector_element_for_primitive!(usize);
        | ----------------------------------------- in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_vector_element` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/cxx_vector.rs:469:13
        |
    469 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    493 | impl_vector_element_for_primitive!(usize);
        | ----------------------------------------- in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_vector_element` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/cxx_vector.rs:400:13
        |
    400 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    494 | impl_vector_element_for_primitive!(i8);
        | -------------------------------------- in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_vector_element` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/cxx_vector.rs:404:13
        |
    404 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    494 | impl_vector_element_for_primitive!(i8);
        | -------------------------------------- in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_vector_element` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/cxx_vector.rs:414:13
        |
    414 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    494 | impl_vector_element_for_primitive!(i8);
        | -------------------------------------- in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_vector_element` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/cxx_vector.rs:371:9
        |
    371 |         #[doc(hidden)]
        |         ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    494 | impl_vector_element_for_primitive!(i8);
        | -------------------------------------- in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `vector_element_by_value_methods` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/cxx_vector.rs:381:9
        |
    381 |         #[doc(hidden)]
        |         ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    494 | impl_vector_element_for_primitive!(i8);
        | -------------------------------------- in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `vector_element_by_value_methods` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/cxx_vector.rs:425:13
        |
    425 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    494 | impl_vector_element_for_primitive!(i8);
        | -------------------------------------- in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_vector_element` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/cxx_vector.rs:437:13
        |
    437 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    494 | impl_vector_element_for_primitive!(i8);
        | -------------------------------------- in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_vector_element` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/cxx_vector.rs:449:13
        |
    449 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    494 | impl_vector_element_for_primitive!(i8);
        | -------------------------------------- in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_vector_element` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/cxx_vector.rs:459:13
        |
    459 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    494 | impl_vector_element_for_primitive!(i8);
        | -------------------------------------- in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_vector_element` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/cxx_vector.rs:469:13
        |
    469 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    494 | impl_vector_element_for_primitive!(i8);
        | -------------------------------------- in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_vector_element` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/cxx_vector.rs:400:13
        |
    400 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    495 | impl_vector_element_for_primitive!(i16);
        | --------------------------------------- in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_vector_element` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/cxx_vector.rs:404:13
        |
    404 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    495 | impl_vector_element_for_primitive!(i16);
        | --------------------------------------- in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_vector_element` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/cxx_vector.rs:414:13
        |
    414 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    495 | impl_vector_element_for_primitive!(i16);
        | --------------------------------------- in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_vector_element` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/cxx_vector.rs:371:9
        |
    371 |         #[doc(hidden)]
        |         ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    495 | impl_vector_element_for_primitive!(i16);
        | --------------------------------------- in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `vector_element_by_value_methods` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/cxx_vector.rs:381:9
        |
    381 |         #[doc(hidden)]
        |         ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    495 | impl_vector_element_for_primitive!(i16);
        | --------------------------------------- in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `vector_element_by_value_methods` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/cxx_vector.rs:425:13
        |
    425 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    495 | impl_vector_element_for_primitive!(i16);
        | --------------------------------------- in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_vector_element` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/cxx_vector.rs:437:13
        |
    437 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    495 | impl_vector_element_for_primitive!(i16);
        | --------------------------------------- in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_vector_element` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/cxx_vector.rs:449:13
        |
    449 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    495 | impl_vector_element_for_primitive!(i16);
        | --------------------------------------- in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_vector_element` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/cxx_vector.rs:459:13
        |
    459 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    495 | impl_vector_element_for_primitive!(i16);
        | --------------------------------------- in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_vector_element` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/cxx_vector.rs:469:13
        |
    469 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    495 | impl_vector_element_for_primitive!(i16);
        | --------------------------------------- in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_vector_element` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/cxx_vector.rs:400:13
        |
    400 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    496 | impl_vector_element_for_primitive!(i32);
        | --------------------------------------- in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_vector_element` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/cxx_vector.rs:404:13
        |
    404 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    496 | impl_vector_element_for_primitive!(i32);
        | --------------------------------------- in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_vector_element` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/cxx_vector.rs:414:13
        |
    414 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    496 | impl_vector_element_for_primitive!(i32);
        | --------------------------------------- in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_vector_element` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/cxx_vector.rs:371:9
        |
    371 |         #[doc(hidden)]
        |         ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    496 | impl_vector_element_for_primitive!(i32);
        | --------------------------------------- in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `vector_element_by_value_methods` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/cxx_vector.rs:381:9
        |
    381 |         #[doc(hidden)]
        |         ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    496 | impl_vector_element_for_primitive!(i32);
        | --------------------------------------- in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `vector_element_by_value_methods` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/cxx_vector.rs:425:13
        |
    425 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    496 | impl_vector_element_for_primitive!(i32);
        | --------------------------------------- in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_vector_element` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/cxx_vector.rs:437:13
        |
    437 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    496 | impl_vector_element_for_primitive!(i32);
        | --------------------------------------- in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_vector_element` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/cxx_vector.rs:449:13
        |
    449 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    496 | impl_vector_element_for_primitive!(i32);
        | --------------------------------------- in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_vector_element` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/cxx_vector.rs:459:13
        |
    459 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    496 | impl_vector_element_for_primitive!(i32);
        | --------------------------------------- in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_vector_element` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/cxx_vector.rs:469:13
        |
    469 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    496 | impl_vector_element_for_primitive!(i32);
        | --------------------------------------- in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_vector_element` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/cxx_vector.rs:400:13
        |
    400 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    497 | impl_vector_element_for_primitive!(i64);
        | --------------------------------------- in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_vector_element` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/cxx_vector.rs:404:13
        |
    404 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    497 | impl_vector_element_for_primitive!(i64);
        | --------------------------------------- in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_vector_element` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/cxx_vector.rs:414:13
        |
    414 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    497 | impl_vector_element_for_primitive!(i64);
        | --------------------------------------- in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_vector_element` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/cxx_vector.rs:371:9
        |
    371 |         #[doc(hidden)]
        |         ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    497 | impl_vector_element_for_primitive!(i64);
        | --------------------------------------- in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `vector_element_by_value_methods` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/cxx_vector.rs:381:9
        |
    381 |         #[doc(hidden)]
        |         ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    497 | impl_vector_element_for_primitive!(i64);
        | --------------------------------------- in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `vector_element_by_value_methods` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/cxx_vector.rs:425:13
        |
    425 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    497 | impl_vector_element_for_primitive!(i64);
        | --------------------------------------- in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_vector_element` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/cxx_vector.rs:437:13
        |
    437 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    497 | impl_vector_element_for_primitive!(i64);
        | --------------------------------------- in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_vector_element` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/cxx_vector.rs:449:13
        |
    449 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    497 | impl_vector_element_for_primitive!(i64);
        | --------------------------------------- in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_vector_element` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/cxx_vector.rs:459:13
        |
    459 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    497 | impl_vector_element_for_primitive!(i64);
        | --------------------------------------- in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_vector_element` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/cxx_vector.rs:469:13
        |
    469 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    497 | impl_vector_element_for_primitive!(i64);
        | --------------------------------------- in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_vector_element` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/cxx_vector.rs:400:13
        |
    400 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    498 | impl_vector_element_for_primitive!(isize);
        | ----------------------------------------- in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_vector_element` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/cxx_vector.rs:404:13
        |
    404 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    498 | impl_vector_element_for_primitive!(isize);
        | ----------------------------------------- in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_vector_element` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/cxx_vector.rs:414:13
        |
    414 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    498 | impl_vector_element_for_primitive!(isize);
        | ----------------------------------------- in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_vector_element` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/cxx_vector.rs:371:9
        |
    371 |         #[doc(hidden)]
        |         ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    498 | impl_vector_element_for_primitive!(isize);
        | ----------------------------------------- in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `vector_element_by_value_methods` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/cxx_vector.rs:381:9
        |
    381 |         #[doc(hidden)]
        |         ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    498 | impl_vector_element_for_primitive!(isize);
        | ----------------------------------------- in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `vector_element_by_value_methods` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/cxx_vector.rs:425:13
        |
    425 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    498 | impl_vector_element_for_primitive!(isize);
        | ----------------------------------------- in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_vector_element` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/cxx_vector.rs:437:13
        |
    437 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    498 | impl_vector_element_for_primitive!(isize);
        | ----------------------------------------- in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_vector_element` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/cxx_vector.rs:449:13
        |
    449 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    498 | impl_vector_element_for_primitive!(isize);
        | ----------------------------------------- in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_vector_element` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/cxx_vector.rs:459:13
        |
    459 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    498 | impl_vector_element_for_primitive!(isize);
        | ----------------------------------------- in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_vector_element` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/cxx_vector.rs:469:13
        |
    469 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    498 | impl_vector_element_for_primitive!(isize);
        | ----------------------------------------- in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_vector_element` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/cxx_vector.rs:400:13
        |
    400 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    499 | impl_vector_element_for_primitive!(f32);
        | --------------------------------------- in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_vector_element` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/cxx_vector.rs:404:13
        |
    404 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    499 | impl_vector_element_for_primitive!(f32);
        | --------------------------------------- in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_vector_element` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/cxx_vector.rs:414:13
        |
    414 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    499 | impl_vector_element_for_primitive!(f32);
        | --------------------------------------- in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_vector_element` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/cxx_vector.rs:371:9
        |
    371 |         #[doc(hidden)]
        |         ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    499 | impl_vector_element_for_primitive!(f32);
        | --------------------------------------- in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `vector_element_by_value_methods` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/cxx_vector.rs:381:9
        |
    381 |         #[doc(hidden)]
        |         ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    499 | impl_vector_element_for_primitive!(f32);
        | --------------------------------------- in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `vector_element_by_value_methods` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/cxx_vector.rs:425:13
        |
    425 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    499 | impl_vector_element_for_primitive!(f32);
        | --------------------------------------- in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_vector_element` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/cxx_vector.rs:437:13
        |
    437 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    499 | impl_vector_element_for_primitive!(f32);
        | --------------------------------------- in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_vector_element` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/cxx_vector.rs:449:13
        |
    449 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    499 | impl_vector_element_for_primitive!(f32);
        | --------------------------------------- in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_vector_element` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/cxx_vector.rs:459:13
        |
    459 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    499 | impl_vector_element_for_primitive!(f32);
        | --------------------------------------- in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_vector_element` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/cxx_vector.rs:469:13
        |
    469 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    499 | impl_vector_element_for_primitive!(f32);
        | --------------------------------------- in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_vector_element` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/cxx_vector.rs:400:13
        |
    400 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    500 | impl_vector_element_for_primitive!(f64);
        | --------------------------------------- in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_vector_element` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/cxx_vector.rs:404:13
        |
    404 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    500 | impl_vector_element_for_primitive!(f64);
        | --------------------------------------- in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_vector_element` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/cxx_vector.rs:414:13
        |
    414 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    500 | impl_vector_element_for_primitive!(f64);
        | --------------------------------------- in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_vector_element` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/cxx_vector.rs:371:9
        |
    371 |         #[doc(hidden)]
        |         ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    500 | impl_vector_element_for_primitive!(f64);
        | --------------------------------------- in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `vector_element_by_value_methods` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/cxx_vector.rs:381:9
        |
    381 |         #[doc(hidden)]
        |         ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    500 | impl_vector_element_for_primitive!(f64);
        | --------------------------------------- in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `vector_element_by_value_methods` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/cxx_vector.rs:425:13
        |
    425 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    500 | impl_vector_element_for_primitive!(f64);
        | --------------------------------------- in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_vector_element` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/cxx_vector.rs:437:13
        |
    437 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    500 | impl_vector_element_for_primitive!(f64);
        | --------------------------------------- in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_vector_element` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/cxx_vector.rs:449:13
        |
    449 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    500 | impl_vector_element_for_primitive!(f64);
        | --------------------------------------- in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_vector_element` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/cxx_vector.rs:459:13
        |
    459 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    500 | impl_vector_element_for_primitive!(f64);
        | --------------------------------------- in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_vector_element` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/cxx_vector.rs:469:13
        |
    469 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    500 | impl_vector_element_for_primitive!(f64);
        | --------------------------------------- in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_vector_element` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/cxx_vector.rs:400:13
        |
    400 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    502 | impl_vector_element!(opaque, "string", "CxxString", CxxString);
        | -------------------------------------------------------------- in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_vector_element` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/cxx_vector.rs:404:13
        |
    404 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    502 | impl_vector_element!(opaque, "string", "CxxString", CxxString);
        | -------------------------------------------------------------- in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_vector_element` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/cxx_vector.rs:414:13
        |
    414 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    502 | impl_vector_element!(opaque, "string", "CxxString", CxxString);
        | -------------------------------------------------------------- in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_vector_element` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/cxx_vector.rs:425:13
        |
    425 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    502 | impl_vector_element!(opaque, "string", "CxxString", CxxString);
        | -------------------------------------------------------------- in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_vector_element` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/cxx_vector.rs:437:13
        |
    437 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    502 | impl_vector_element!(opaque, "string", "CxxString", CxxString);
        | -------------------------------------------------------------- in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_vector_element` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/cxx_vector.rs:449:13
        |
    449 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    502 | impl_vector_element!(opaque, "string", "CxxString", CxxString);
        | -------------------------------------------------------------- in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_vector_element` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/cxx_vector.rs:459:13
        |
    459 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    502 | impl_vector_element!(opaque, "string", "CxxString", CxxString);
        | -------------------------------------------------------------- in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_vector_element` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/cxx_vector.rs:469:13
        |
    469 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    502 | impl_vector_element!(opaque, "string", "CxxString", CxxString);
        | -------------------------------------------------------------- in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_vector_element` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/shared_ptr.rs:207:13
        |
    207 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    271 | impl_shared_ptr_target_for_primitive!(bool);
        | ------------------------------------------- in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_shared_ptr_target` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/shared_ptr.rs:211:13
        |
    211 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    271 | impl_shared_ptr_target_for_primitive!(bool);
        | ------------------------------------------- in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_shared_ptr_target` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/shared_ptr.rs:221:13
        |
    221 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    271 | impl_shared_ptr_target_for_primitive!(bool);
        | ------------------------------------------- in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_shared_ptr_target` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/shared_ptr.rs:231:13
        |
    231 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    271 | impl_shared_ptr_target_for_primitive!(bool);
        | ------------------------------------------- in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_shared_ptr_target` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/shared_ptr.rs:241:13
        |
    241 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    271 | impl_shared_ptr_target_for_primitive!(bool);
        | ------------------------------------------- in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_shared_ptr_target` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/shared_ptr.rs:251:13
        |
    251 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    271 | impl_shared_ptr_target_for_primitive!(bool);
        | ------------------------------------------- in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_shared_ptr_target` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/shared_ptr.rs:207:13
        |
    207 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    272 | impl_shared_ptr_target_for_primitive!(u8);
        | ----------------------------------------- in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_shared_ptr_target` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/shared_ptr.rs:211:13
        |
    211 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    272 | impl_shared_ptr_target_for_primitive!(u8);
        | ----------------------------------------- in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_shared_ptr_target` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/shared_ptr.rs:221:13
        |
    221 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    272 | impl_shared_ptr_target_for_primitive!(u8);
        | ----------------------------------------- in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_shared_ptr_target` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/shared_ptr.rs:231:13
        |
    231 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    272 | impl_shared_ptr_target_for_primitive!(u8);
        | ----------------------------------------- in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_shared_ptr_target` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/shared_ptr.rs:241:13
        |
    241 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    272 | impl_shared_ptr_target_for_primitive!(u8);
        | ----------------------------------------- in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_shared_ptr_target` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/shared_ptr.rs:251:13
        |
    251 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    272 | impl_shared_ptr_target_for_primitive!(u8);
        | ----------------------------------------- in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_shared_ptr_target` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/shared_ptr.rs:207:13
        |
    207 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    273 | impl_shared_ptr_target_for_primitive!(u16);
        | ------------------------------------------ in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_shared_ptr_target` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/shared_ptr.rs:211:13
        |
    211 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    273 | impl_shared_ptr_target_for_primitive!(u16);
        | ------------------------------------------ in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_shared_ptr_target` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/shared_ptr.rs:221:13
        |
    221 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    273 | impl_shared_ptr_target_for_primitive!(u16);
        | ------------------------------------------ in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_shared_ptr_target` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/shared_ptr.rs:231:13
        |
    231 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    273 | impl_shared_ptr_target_for_primitive!(u16);
        | ------------------------------------------ in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_shared_ptr_target` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/shared_ptr.rs:241:13
        |
    241 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    273 | impl_shared_ptr_target_for_primitive!(u16);
        | ------------------------------------------ in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_shared_ptr_target` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/shared_ptr.rs:251:13
        |
    251 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    273 | impl_shared_ptr_target_for_primitive!(u16);
        | ------------------------------------------ in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_shared_ptr_target` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/shared_ptr.rs:207:13
        |
    207 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    274 | impl_shared_ptr_target_for_primitive!(u32);
        | ------------------------------------------ in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_shared_ptr_target` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/shared_ptr.rs:211:13
        |
    211 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    274 | impl_shared_ptr_target_for_primitive!(u32);
        | ------------------------------------------ in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_shared_ptr_target` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/shared_ptr.rs:221:13
        |
    221 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    274 | impl_shared_ptr_target_for_primitive!(u32);
        | ------------------------------------------ in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_shared_ptr_target` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/shared_ptr.rs:231:13
        |
    231 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    274 | impl_shared_ptr_target_for_primitive!(u32);
        | ------------------------------------------ in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_shared_ptr_target` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/shared_ptr.rs:241:13
        |
    241 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    274 | impl_shared_ptr_target_for_primitive!(u32);
        | ------------------------------------------ in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_shared_ptr_target` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/shared_ptr.rs:251:13
        |
    251 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    274 | impl_shared_ptr_target_for_primitive!(u32);
        | ------------------------------------------ in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_shared_ptr_target` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/shared_ptr.rs:207:13
        |
    207 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    275 | impl_shared_ptr_target_for_primitive!(u64);
        | ------------------------------------------ in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_shared_ptr_target` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/shared_ptr.rs:211:13
        |
    211 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    275 | impl_shared_ptr_target_for_primitive!(u64);
        | ------------------------------------------ in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_shared_ptr_target` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/shared_ptr.rs:221:13
        |
    221 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    275 | impl_shared_ptr_target_for_primitive!(u64);
        | ------------------------------------------ in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_shared_ptr_target` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/shared_ptr.rs:231:13
        |
    231 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    275 | impl_shared_ptr_target_for_primitive!(u64);
        | ------------------------------------------ in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_shared_ptr_target` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/shared_ptr.rs:241:13
        |
    241 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    275 | impl_shared_ptr_target_for_primitive!(u64);
        | ------------------------------------------ in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_shared_ptr_target` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/shared_ptr.rs:251:13
        |
    251 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    275 | impl_shared_ptr_target_for_primitive!(u64);
        | ------------------------------------------ in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_shared_ptr_target` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/shared_ptr.rs:207:13
        |
    207 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    276 | impl_shared_ptr_target_for_primitive!(usize);
        | -------------------------------------------- in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_shared_ptr_target` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/shared_ptr.rs:211:13
        |
    211 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    276 | impl_shared_ptr_target_for_primitive!(usize);
        | -------------------------------------------- in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_shared_ptr_target` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/shared_ptr.rs:221:13
        |
    221 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    276 | impl_shared_ptr_target_for_primitive!(usize);
        | -------------------------------------------- in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_shared_ptr_target` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/shared_ptr.rs:231:13
        |
    231 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    276 | impl_shared_ptr_target_for_primitive!(usize);
        | -------------------------------------------- in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_shared_ptr_target` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/shared_ptr.rs:241:13
        |
    241 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    276 | impl_shared_ptr_target_for_primitive!(usize);
        | -------------------------------------------- in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_shared_ptr_target` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/shared_ptr.rs:251:13
        |
    251 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    276 | impl_shared_ptr_target_for_primitive!(usize);
        | -------------------------------------------- in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_shared_ptr_target` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/shared_ptr.rs:207:13
        |
    207 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    277 | impl_shared_ptr_target_for_primitive!(i8);
        | ----------------------------------------- in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_shared_ptr_target` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/shared_ptr.rs:211:13
        |
    211 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    277 | impl_shared_ptr_target_for_primitive!(i8);
        | ----------------------------------------- in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_shared_ptr_target` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/shared_ptr.rs:221:13
        |
    221 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    277 | impl_shared_ptr_target_for_primitive!(i8);
        | ----------------------------------------- in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_shared_ptr_target` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/shared_ptr.rs:231:13
        |
    231 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    277 | impl_shared_ptr_target_for_primitive!(i8);
        | ----------------------------------------- in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_shared_ptr_target` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/shared_ptr.rs:241:13
        |
    241 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    277 | impl_shared_ptr_target_for_primitive!(i8);
        | ----------------------------------------- in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_shared_ptr_target` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/shared_ptr.rs:251:13
        |
    251 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    277 | impl_shared_ptr_target_for_primitive!(i8);
        | ----------------------------------------- in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_shared_ptr_target` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/shared_ptr.rs:207:13
        |
    207 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    278 | impl_shared_ptr_target_for_primitive!(i16);
        | ------------------------------------------ in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_shared_ptr_target` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/shared_ptr.rs:211:13
        |
    211 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    278 | impl_shared_ptr_target_for_primitive!(i16);
        | ------------------------------------------ in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_shared_ptr_target` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/shared_ptr.rs:221:13
        |
    221 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    278 | impl_shared_ptr_target_for_primitive!(i16);
        | ------------------------------------------ in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_shared_ptr_target` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/shared_ptr.rs:231:13
        |
    231 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    278 | impl_shared_ptr_target_for_primitive!(i16);
        | ------------------------------------------ in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_shared_ptr_target` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/shared_ptr.rs:241:13
        |
    241 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    278 | impl_shared_ptr_target_for_primitive!(i16);
        | ------------------------------------------ in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_shared_ptr_target` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/shared_ptr.rs:251:13
        |
    251 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    278 | impl_shared_ptr_target_for_primitive!(i16);
        | ------------------------------------------ in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_shared_ptr_target` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/shared_ptr.rs:207:13
        |
    207 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    279 | impl_shared_ptr_target_for_primitive!(i32);
        | ------------------------------------------ in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_shared_ptr_target` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/shared_ptr.rs:211:13
        |
    211 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    279 | impl_shared_ptr_target_for_primitive!(i32);
        | ------------------------------------------ in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_shared_ptr_target` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/shared_ptr.rs:221:13
        |
    221 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    279 | impl_shared_ptr_target_for_primitive!(i32);
        | ------------------------------------------ in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_shared_ptr_target` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/shared_ptr.rs:231:13
        |
    231 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    279 | impl_shared_ptr_target_for_primitive!(i32);
        | ------------------------------------------ in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_shared_ptr_target` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/shared_ptr.rs:241:13
        |
    241 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    279 | impl_shared_ptr_target_for_primitive!(i32);
        | ------------------------------------------ in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_shared_ptr_target` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/shared_ptr.rs:251:13
        |
    251 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    279 | impl_shared_ptr_target_for_primitive!(i32);
        | ------------------------------------------ in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_shared_ptr_target` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/shared_ptr.rs:207:13
        |
    207 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    280 | impl_shared_ptr_target_for_primitive!(i64);
        | ------------------------------------------ in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_shared_ptr_target` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/shared_ptr.rs:211:13
        |
    211 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    280 | impl_shared_ptr_target_for_primitive!(i64);
        | ------------------------------------------ in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_shared_ptr_target` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/shared_ptr.rs:221:13
        |
    221 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    280 | impl_shared_ptr_target_for_primitive!(i64);
        | ------------------------------------------ in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_shared_ptr_target` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/shared_ptr.rs:231:13
        |
    231 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    280 | impl_shared_ptr_target_for_primitive!(i64);
        | ------------------------------------------ in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_shared_ptr_target` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/shared_ptr.rs:241:13
        |
    241 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    280 | impl_shared_ptr_target_for_primitive!(i64);
        | ------------------------------------------ in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_shared_ptr_target` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/shared_ptr.rs:251:13
        |
    251 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    280 | impl_shared_ptr_target_for_primitive!(i64);
        | ------------------------------------------ in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_shared_ptr_target` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/shared_ptr.rs:207:13
        |
    207 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    281 | impl_shared_ptr_target_for_primitive!(isize);
        | -------------------------------------------- in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_shared_ptr_target` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/shared_ptr.rs:211:13
        |
    211 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    281 | impl_shared_ptr_target_for_primitive!(isize);
        | -------------------------------------------- in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_shared_ptr_target` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/shared_ptr.rs:221:13
        |
    221 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    281 | impl_shared_ptr_target_for_primitive!(isize);
        | -------------------------------------------- in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_shared_ptr_target` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/shared_ptr.rs:231:13
        |
    231 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    281 | impl_shared_ptr_target_for_primitive!(isize);
        | -------------------------------------------- in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_shared_ptr_target` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/shared_ptr.rs:241:13
        |
    241 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    281 | impl_shared_ptr_target_for_primitive!(isize);
        | -------------------------------------------- in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_shared_ptr_target` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/shared_ptr.rs:251:13
        |
    251 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    281 | impl_shared_ptr_target_for_primitive!(isize);
        | -------------------------------------------- in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_shared_ptr_target` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/shared_ptr.rs:207:13
        |
    207 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    282 | impl_shared_ptr_target_for_primitive!(f32);
        | ------------------------------------------ in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_shared_ptr_target` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/shared_ptr.rs:211:13
        |
    211 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    282 | impl_shared_ptr_target_for_primitive!(f32);
        | ------------------------------------------ in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_shared_ptr_target` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/shared_ptr.rs:221:13
        |
    221 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    282 | impl_shared_ptr_target_for_primitive!(f32);
        | ------------------------------------------ in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_shared_ptr_target` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/shared_ptr.rs:231:13
        |
    231 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    282 | impl_shared_ptr_target_for_primitive!(f32);
        | ------------------------------------------ in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_shared_ptr_target` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/shared_ptr.rs:241:13
        |
    241 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    282 | impl_shared_ptr_target_for_primitive!(f32);
        | ------------------------------------------ in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_shared_ptr_target` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/shared_ptr.rs:251:13
        |
    251 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    282 | impl_shared_ptr_target_for_primitive!(f32);
        | ------------------------------------------ in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_shared_ptr_target` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/shared_ptr.rs:207:13
        |
    207 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    283 | impl_shared_ptr_target_for_primitive!(f64);
        | ------------------------------------------ in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_shared_ptr_target` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/shared_ptr.rs:211:13
        |
    211 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    283 | impl_shared_ptr_target_for_primitive!(f64);
        | ------------------------------------------ in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_shared_ptr_target` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/shared_ptr.rs:221:13
        |
    221 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    283 | impl_shared_ptr_target_for_primitive!(f64);
        | ------------------------------------------ in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_shared_ptr_target` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/shared_ptr.rs:231:13
        |
    231 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    283 | impl_shared_ptr_target_for_primitive!(f64);
        | ------------------------------------------ in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_shared_ptr_target` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/shared_ptr.rs:241:13
        |
    241 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    283 | impl_shared_ptr_target_for_primitive!(f64);
        | ------------------------------------------ in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_shared_ptr_target` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/shared_ptr.rs:251:13
        |
    251 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    283 | impl_shared_ptr_target_for_primitive!(f64);
        | ------------------------------------------ in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_shared_ptr_target` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/shared_ptr.rs:207:13
        |
    207 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    285 | impl_shared_ptr_target!("string", "CxxString", CxxString);
        | --------------------------------------------------------- in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_shared_ptr_target` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/shared_ptr.rs:211:13
        |
    211 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    285 | impl_shared_ptr_target!("string", "CxxString", CxxString);
        | --------------------------------------------------------- in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_shared_ptr_target` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/shared_ptr.rs:221:13
        |
    221 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    285 | impl_shared_ptr_target!("string", "CxxString", CxxString);
        | --------------------------------------------------------- in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_shared_ptr_target` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/shared_ptr.rs:231:13
        |
    231 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    285 | impl_shared_ptr_target!("string", "CxxString", CxxString);
        | --------------------------------------------------------- in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_shared_ptr_target` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/shared_ptr.rs:241:13
        |
    241 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    285 | impl_shared_ptr_target!("string", "CxxString", CxxString);
        | --------------------------------------------------------- in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_shared_ptr_target` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/shared_ptr.rs:251:13
        |
    251 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    285 | impl_shared_ptr_target!("string", "CxxString", CxxString);
        | --------------------------------------------------------- in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_shared_ptr_target` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/unique_ptr.rs:244:5
        |
    244 |     #[doc(hidden)]
        |     ^^^^^^^^^^^^^^ help: remove this attribute
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/unique_ptr.rs:248:5
        |
    248 |     #[doc(hidden)]
        |     ^^^^^^^^^^^^^^ help: remove this attribute
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/unique_ptr.rs:256:5
        |
    256 |     #[doc(hidden)]
        |     ^^^^^^^^^^^^^^ help: remove this attribute
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/unique_ptr.rs:262:5
        |
    262 |     #[doc(hidden)]
        |     ^^^^^^^^^^^^^^ help: remove this attribute
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/unique_ptr.rs:266:5
        |
    266 |     #[doc(hidden)]
        |     ^^^^^^^^^^^^^^ help: remove this attribute
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/unique_ptr.rs:270:5
        |
    270 |     #[doc(hidden)]
        |     ^^^^^^^^^^^^^^ help: remove this attribute
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/unique_ptr.rs:280:5
        |
    280 |     #[doc(hidden)]
        |     ^^^^^^^^^^^^^^ help: remove this attribute
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/unique_ptr.rs:284:5
        |
    284 |     #[doc(hidden)]
        |     ^^^^^^^^^^^^^^ help: remove this attribute
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/unique_ptr.rs:288:5
        |
    288 |     #[doc(hidden)]
        |     ^^^^^^^^^^^^^^ help: remove this attribute
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/unique_ptr.rs:292:5
        |
    292 |     #[doc(hidden)]
        |     ^^^^^^^^^^^^^^ help: remove this attribute
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/unique_ptr.rs:296:5
        |
    296 |     #[doc(hidden)]
        |     ^^^^^^^^^^^^^^ help: remove this attribute
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/unique_ptr.rs:300:5
        |
    300 |     #[doc(hidden)]
        |     ^^^^^^^^^^^^^^ help: remove this attribute
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/weak_ptr.rs:117:13
        |
    117 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    181 | impl_weak_ptr_target_for_primitive!(bool);
        | ----------------------------------------- in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_weak_ptr_target` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/weak_ptr.rs:121:13
        |
    121 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    181 | impl_weak_ptr_target_for_primitive!(bool);
        | ----------------------------------------- in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_weak_ptr_target` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/weak_ptr.rs:131:13
        |
    131 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    181 | impl_weak_ptr_target_for_primitive!(bool);
        | ----------------------------------------- in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_weak_ptr_target` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/weak_ptr.rs:141:13
        |
    141 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    181 | impl_weak_ptr_target_for_primitive!(bool);
        | ----------------------------------------- in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_weak_ptr_target` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/weak_ptr.rs:151:13
        |
    151 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    181 | impl_weak_ptr_target_for_primitive!(bool);
        | ----------------------------------------- in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_weak_ptr_target` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/weak_ptr.rs:161:13
        |
    161 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    181 | impl_weak_ptr_target_for_primitive!(bool);
        | ----------------------------------------- in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_weak_ptr_target` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/weak_ptr.rs:117:13
        |
    117 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    182 | impl_weak_ptr_target_for_primitive!(u8);
        | --------------------------------------- in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_weak_ptr_target` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/weak_ptr.rs:121:13
        |
    121 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    182 | impl_weak_ptr_target_for_primitive!(u8);
        | --------------------------------------- in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_weak_ptr_target` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/weak_ptr.rs:131:13
        |
    131 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    182 | impl_weak_ptr_target_for_primitive!(u8);
        | --------------------------------------- in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_weak_ptr_target` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/weak_ptr.rs:141:13
        |
    141 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    182 | impl_weak_ptr_target_for_primitive!(u8);
        | --------------------------------------- in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_weak_ptr_target` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/weak_ptr.rs:151:13
        |
    151 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    182 | impl_weak_ptr_target_for_primitive!(u8);
        | --------------------------------------- in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_weak_ptr_target` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/weak_ptr.rs:161:13
        |
    161 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    182 | impl_weak_ptr_target_for_primitive!(u8);
        | --------------------------------------- in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_weak_ptr_target` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/weak_ptr.rs:117:13
        |
    117 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    183 | impl_weak_ptr_target_for_primitive!(u16);
        | ---------------------------------------- in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_weak_ptr_target` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/weak_ptr.rs:121:13
        |
    121 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    183 | impl_weak_ptr_target_for_primitive!(u16);
        | ---------------------------------------- in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_weak_ptr_target` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/weak_ptr.rs:131:13
        |
    131 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    183 | impl_weak_ptr_target_for_primitive!(u16);
        | ---------------------------------------- in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_weak_ptr_target` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/weak_ptr.rs:141:13
        |
    141 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    183 | impl_weak_ptr_target_for_primitive!(u16);
        | ---------------------------------------- in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_weak_ptr_target` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/weak_ptr.rs:151:13
        |
    151 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    183 | impl_weak_ptr_target_for_primitive!(u16);
        | ---------------------------------------- in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_weak_ptr_target` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/weak_ptr.rs:161:13
        |
    161 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    183 | impl_weak_ptr_target_for_primitive!(u16);
        | ---------------------------------------- in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_weak_ptr_target` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/weak_ptr.rs:117:13
        |
    117 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    184 | impl_weak_ptr_target_for_primitive!(u32);
        | ---------------------------------------- in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_weak_ptr_target` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/weak_ptr.rs:121:13
        |
    121 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    184 | impl_weak_ptr_target_for_primitive!(u32);
        | ---------------------------------------- in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_weak_ptr_target` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/weak_ptr.rs:131:13
        |
    131 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    184 | impl_weak_ptr_target_for_primitive!(u32);
        | ---------------------------------------- in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_weak_ptr_target` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/weak_ptr.rs:141:13
        |
    141 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    184 | impl_weak_ptr_target_for_primitive!(u32);
        | ---------------------------------------- in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_weak_ptr_target` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/weak_ptr.rs:151:13
        |
    151 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    184 | impl_weak_ptr_target_for_primitive!(u32);
        | ---------------------------------------- in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_weak_ptr_target` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/weak_ptr.rs:161:13
        |
    161 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    184 | impl_weak_ptr_target_for_primitive!(u32);
        | ---------------------------------------- in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_weak_ptr_target` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/weak_ptr.rs:117:13
        |
    117 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    185 | impl_weak_ptr_target_for_primitive!(u64);
        | ---------------------------------------- in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_weak_ptr_target` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/weak_ptr.rs:121:13
        |
    121 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    185 | impl_weak_ptr_target_for_primitive!(u64);
        | ---------------------------------------- in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_weak_ptr_target` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/weak_ptr.rs:131:13
        |
    131 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    185 | impl_weak_ptr_target_for_primitive!(u64);
        | ---------------------------------------- in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_weak_ptr_target` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/weak_ptr.rs:141:13
        |
    141 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    185 | impl_weak_ptr_target_for_primitive!(u64);
        | ---------------------------------------- in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_weak_ptr_target` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/weak_ptr.rs:151:13
        |
    151 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    185 | impl_weak_ptr_target_for_primitive!(u64);
        | ---------------------------------------- in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_weak_ptr_target` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/weak_ptr.rs:161:13
        |
    161 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    185 | impl_weak_ptr_target_for_primitive!(u64);
        | ---------------------------------------- in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_weak_ptr_target` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/weak_ptr.rs:117:13
        |
    117 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    186 | impl_weak_ptr_target_for_primitive!(usize);
        | ------------------------------------------ in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_weak_ptr_target` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/weak_ptr.rs:121:13
        |
    121 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    186 | impl_weak_ptr_target_for_primitive!(usize);
        | ------------------------------------------ in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_weak_ptr_target` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/weak_ptr.rs:131:13
        |
    131 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    186 | impl_weak_ptr_target_for_primitive!(usize);
        | ------------------------------------------ in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_weak_ptr_target` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/weak_ptr.rs:141:13
        |
    141 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    186 | impl_weak_ptr_target_for_primitive!(usize);
        | ------------------------------------------ in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_weak_ptr_target` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/weak_ptr.rs:151:13
        |
    151 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    186 | impl_weak_ptr_target_for_primitive!(usize);
        | ------------------------------------------ in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_weak_ptr_target` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/weak_ptr.rs:161:13
        |
    161 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    186 | impl_weak_ptr_target_for_primitive!(usize);
        | ------------------------------------------ in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_weak_ptr_target` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/weak_ptr.rs:117:13
        |
    117 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    187 | impl_weak_ptr_target_for_primitive!(i8);
        | --------------------------------------- in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_weak_ptr_target` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/weak_ptr.rs:121:13
        |
    121 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    187 | impl_weak_ptr_target_for_primitive!(i8);
        | --------------------------------------- in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_weak_ptr_target` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/weak_ptr.rs:131:13
        |
    131 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    187 | impl_weak_ptr_target_for_primitive!(i8);
        | --------------------------------------- in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_weak_ptr_target` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/weak_ptr.rs:141:13
        |
    141 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    187 | impl_weak_ptr_target_for_primitive!(i8);
        | --------------------------------------- in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_weak_ptr_target` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/weak_ptr.rs:151:13
        |
    151 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    187 | impl_weak_ptr_target_for_primitive!(i8);
        | --------------------------------------- in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_weak_ptr_target` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/weak_ptr.rs:161:13
        |
    161 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    187 | impl_weak_ptr_target_for_primitive!(i8);
        | --------------------------------------- in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_weak_ptr_target` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/weak_ptr.rs:117:13
        |
    117 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    188 | impl_weak_ptr_target_for_primitive!(i16);
        | ---------------------------------------- in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_weak_ptr_target` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/weak_ptr.rs:121:13
        |
    121 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    188 | impl_weak_ptr_target_for_primitive!(i16);
        | ---------------------------------------- in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_weak_ptr_target` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/weak_ptr.rs:131:13
        |
    131 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    188 | impl_weak_ptr_target_for_primitive!(i16);
        | ---------------------------------------- in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_weak_ptr_target` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/weak_ptr.rs:141:13
        |
    141 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    188 | impl_weak_ptr_target_for_primitive!(i16);
        | ---------------------------------------- in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_weak_ptr_target` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/weak_ptr.rs:151:13
        |
    151 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    188 | impl_weak_ptr_target_for_primitive!(i16);
        | ---------------------------------------- in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_weak_ptr_target` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/weak_ptr.rs:161:13
        |
    161 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    188 | impl_weak_ptr_target_for_primitive!(i16);
        | ---------------------------------------- in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_weak_ptr_target` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/weak_ptr.rs:117:13
        |
    117 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    189 | impl_weak_ptr_target_for_primitive!(i32);
        | ---------------------------------------- in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_weak_ptr_target` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/weak_ptr.rs:121:13
        |
    121 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    189 | impl_weak_ptr_target_for_primitive!(i32);
        | ---------------------------------------- in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_weak_ptr_target` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/weak_ptr.rs:131:13
        |
    131 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    189 | impl_weak_ptr_target_for_primitive!(i32);
        | ---------------------------------------- in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_weak_ptr_target` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/weak_ptr.rs:141:13
        |
    141 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    189 | impl_weak_ptr_target_for_primitive!(i32);
        | ---------------------------------------- in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_weak_ptr_target` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/weak_ptr.rs:151:13
        |
    151 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    189 | impl_weak_ptr_target_for_primitive!(i32);
        | ---------------------------------------- in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_weak_ptr_target` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/weak_ptr.rs:161:13
        |
    161 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    189 | impl_weak_ptr_target_for_primitive!(i32);
        | ---------------------------------------- in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_weak_ptr_target` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/weak_ptr.rs:117:13
        |
    117 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    190 | impl_weak_ptr_target_for_primitive!(i64);
        | ---------------------------------------- in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_weak_ptr_target` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/weak_ptr.rs:121:13
        |
    121 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    190 | impl_weak_ptr_target_for_primitive!(i64);
        | ---------------------------------------- in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_weak_ptr_target` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/weak_ptr.rs:131:13
        |
    131 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    190 | impl_weak_ptr_target_for_primitive!(i64);
        | ---------------------------------------- in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_weak_ptr_target` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/weak_ptr.rs:141:13
        |
    141 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    190 | impl_weak_ptr_target_for_primitive!(i64);
        | ---------------------------------------- in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_weak_ptr_target` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/weak_ptr.rs:151:13
        |
    151 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    190 | impl_weak_ptr_target_for_primitive!(i64);
        | ---------------------------------------- in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_weak_ptr_target` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/weak_ptr.rs:161:13
        |
    161 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    190 | impl_weak_ptr_target_for_primitive!(i64);
        | ---------------------------------------- in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_weak_ptr_target` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/weak_ptr.rs:117:13
        |
    117 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    191 | impl_weak_ptr_target_for_primitive!(isize);
        | ------------------------------------------ in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_weak_ptr_target` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/weak_ptr.rs:121:13
        |
    121 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    191 | impl_weak_ptr_target_for_primitive!(isize);
        | ------------------------------------------ in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_weak_ptr_target` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/weak_ptr.rs:131:13
        |
    131 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    191 | impl_weak_ptr_target_for_primitive!(isize);
        | ------------------------------------------ in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_weak_ptr_target` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/weak_ptr.rs:141:13
        |
    141 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    191 | impl_weak_ptr_target_for_primitive!(isize);
        | ------------------------------------------ in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_weak_ptr_target` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/weak_ptr.rs:151:13
        |
    151 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    191 | impl_weak_ptr_target_for_primitive!(isize);
        | ------------------------------------------ in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_weak_ptr_target` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/weak_ptr.rs:161:13
        |
    161 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    191 | impl_weak_ptr_target_for_primitive!(isize);
        | ------------------------------------------ in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_weak_ptr_target` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/weak_ptr.rs:117:13
        |
    117 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    192 | impl_weak_ptr_target_for_primitive!(f32);
        | ---------------------------------------- in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_weak_ptr_target` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/weak_ptr.rs:121:13
        |
    121 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    192 | impl_weak_ptr_target_for_primitive!(f32);
        | ---------------------------------------- in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_weak_ptr_target` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/weak_ptr.rs:131:13
        |
    131 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    192 | impl_weak_ptr_target_for_primitive!(f32);
        | ---------------------------------------- in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_weak_ptr_target` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/weak_ptr.rs:141:13
        |
    141 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    192 | impl_weak_ptr_target_for_primitive!(f32);
        | ---------------------------------------- in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_weak_ptr_target` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/weak_ptr.rs:151:13
        |
    151 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    192 | impl_weak_ptr_target_for_primitive!(f32);
        | ---------------------------------------- in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_weak_ptr_target` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/weak_ptr.rs:161:13
        |
    161 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    192 | impl_weak_ptr_target_for_primitive!(f32);
        | ---------------------------------------- in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_weak_ptr_target` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/weak_ptr.rs:117:13
        |
    117 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    193 | impl_weak_ptr_target_for_primitive!(f64);
        | ---------------------------------------- in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_weak_ptr_target` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/weak_ptr.rs:121:13
        |
    121 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    193 | impl_weak_ptr_target_for_primitive!(f64);
        | ---------------------------------------- in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_weak_ptr_target` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/weak_ptr.rs:131:13
        |
    131 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    193 | impl_weak_ptr_target_for_primitive!(f64);
        | ---------------------------------------- in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_weak_ptr_target` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/weak_ptr.rs:141:13
        |
    141 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    193 | impl_weak_ptr_target_for_primitive!(f64);
        | ---------------------------------------- in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_weak_ptr_target` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/weak_ptr.rs:151:13
        |
    151 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    193 | impl_weak_ptr_target_for_primitive!(f64);
        | ---------------------------------------- in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_weak_ptr_target` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/weak_ptr.rs:161:13
        |
    161 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    193 | impl_weak_ptr_target_for_primitive!(f64);
        | ---------------------------------------- in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_weak_ptr_target` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/weak_ptr.rs:117:13
        |
    117 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    195 | impl_weak_ptr_target!("string", "CxxString", CxxString);
        | ------------------------------------------------------- in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_weak_ptr_target` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/weak_ptr.rs:121:13
        |
    121 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    195 | impl_weak_ptr_target!("string", "CxxString", CxxString);
        | ------------------------------------------------------- in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_weak_ptr_target` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/weak_ptr.rs:131:13
        |
    131 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    195 | impl_weak_ptr_target!("string", "CxxString", CxxString);
        | ------------------------------------------------------- in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_weak_ptr_target` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/weak_ptr.rs:141:13
        |
    141 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    195 | impl_weak_ptr_target!("string", "CxxString", CxxString);
        | ------------------------------------------------------- in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_weak_ptr_target` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/weak_ptr.rs:151:13
        |
    151 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    195 | impl_weak_ptr_target!("string", "CxxString", CxxString);
        | ------------------------------------------------------- in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_weak_ptr_target` (in Nightly builds, run with -Z macro-backtrace for more info)

    warning: `#[doc(hidden)]` is ignored on trait impl items
       --> src/weak_ptr.rs:161:13
        |
    161 |             #[doc(hidden)]
        |             ^^^^^^^^^^^^^^ help: remove this attribute
    ...
    195 | impl_weak_ptr_target!("string", "CxxString", CxxString);
        | ------------------------------------------------------- in this macro invocation
        |
        = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
        = note: whether the impl item is `doc(hidden)` or not entirely depends on the corresponding trait item
        = note: this warning originates in the macro `impl_weak_ptr_target` (in Nightly builds, run with -Z macro-backtrace for more info)
2022-05-09 21:25:06 -07:00
David Tolnay
44762a6470
Update ui test suite to nightly-2022-04-30 2022-04-29 19:53:28 -07:00
David Tolnay
21e66f64f9
Update ui test suite to nightly-2022-04-28 2022-04-27 20:02:52 -07:00
David Tolnay
5d8f38c871
Merge pull request #1042 from dtolnay/bazel
Replace half-baked repository_os logic with get_host_triple
2022-04-27 14:57:50 -07:00
David Tolnay
b828c0038e
Replace half-baked repository_os logic with get_host_triple 2022-04-27 14:41:05 -07:00
David Tolnay
07b30a57e9
Pull in newer Bazel rules_rust 2022-04-27 14:39:15 -07:00
David Tolnay
0be969daa5
Update ui test suite to nightly-2022-04-27 2022-04-26 21:28:49 -07:00
David Tolnay
38d631130c
Merge pull request #1041 from dtolnay/bazel
Replace deprecated rust_repositories call in bazel WORKSPACE
2022-04-26 14:42:54 -07:00
David Tolnay
c3f1459047
Replace deprecated rust_repositories call in bazel WORKSPACE
This function is documented as deprecated in rules_rust.

    **Deprecated**: Use [rules_rust_dependencies](#rules_rust_dependencies)
    and [rust_register_toolchains](#rust_register_toolchains) directly.
2022-04-26 14:20:08 -07:00
David Tolnay
0006c00f45
Release 1.0.67 2022-04-25 18:50:09 -07:00
David Tolnay
267b90d4b4
Merge pull request #1040 from dtolnay/bazel
Pull in my landed edition-related PRs from Bazel rules_rust
2022-04-25 18:48:01 -07:00
David Tolnay
e31ca999d1
Pull in my landed edition-related PRs from Bazel rules_rust 2022-04-25 18:29:03 -07:00
David Tolnay
f9f215fc0f
Run buildifier on WORKSPACE 2022-04-25 18:26:47 -07:00
David Tolnay
205964659b
Update workflows to actions/checkout@v3 2022-04-24 18:28:00 -07:00
David Tolnay
36737e42d6
Ignore unused ignore attribute warning in some configurations 2022-04-24 15:59:25 -07:00
David Tolnay
2ec5f2b839
Disable ui test on miri 2022-04-24 15:17:52 -07:00
David Tolnay
95ff4822aa
Remove default value of vendor's cargo_version attribute 2022-04-24 11:17:13 -07:00
David Tolnay
5b62339ce5
Lockfile update 2022-04-24 11:14:47 -07:00
David Tolnay
3ebcb56b20
Compute target triple as {arch}-{os} 2022-04-24 10:30:31 -07:00
David Tolnay
d42f229646
Rearrange target_triple logic to highlight matching on os then arch 2022-04-24 10:22:33 -07:00
David Tolnay
57965873b3
Format vendor.bzl with buildifier 2022-04-24 10:19:49 -07:00