Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Define generic AbiExample for OnceLock #33520

Merged
merged 2 commits into from
Oct 4, 2023

Commits on Oct 4, 2023

  1. Configuration menu
    Copy the full SHA
    e769318 View commit details
    Browse the repository at this point in the history
  2. Guard with cfg...

    cargo-test-sbf (governance/addin-mock/program, governance/program):
    error[E0658]: use of unstable library feature 'once_cell'
       --> src/abi_example.rs:559:36
         |
     559 | impl<T: AbiExample> AbiExample for std::sync::OnceLock<T> {
         |                                    ^^^^^^^^^^^^^^^^^^^^^^
         |
         = note: see issue #74465 <rust-lang/rust#74465> for more information
         = help: add `#![feature(once_cell)]` to the crate attributes to enable
    ryoqun committed Oct 4, 2023
    Configuration menu
    Copy the full SHA
    a30a797 View commit details
    Browse the repository at this point in the history