Skip to content

Update dyn trait tests from raw to ptr Rust APIs#306

Merged
danielsn merged 1 commit intomodel-checking:main-153-2021-07-02from
avanhatt:deprecated-raw
Jul 7, 2021
Merged

Update dyn trait tests from raw to ptr Rust APIs#306
danielsn merged 1 commit intomodel-checking:main-153-2021-07-02from
avanhatt:deprecated-raw

Conversation

@avanhatt
Copy link
Contributor

@avanhatt avanhatt commented Jul 7, 2021

Description of changes:

Rustc fully removed the deprecated raw API, we need to update our trait object tests to use the new pointer API:

rust-lang/rust@0d1919c

Resolved issues:

Resolves #305

Call-outs:

We should land this before attempting the next rebase.

Testing:

  • How is this change tested?

Updates to tests.

  • Is this a refactor change?

No.

Checklist

  • Each commit message has a non-empty body, explaining why the change was made
  • Methods or procedures are documented
  • Regression or unit tests are included, or existing tests cover the modified code
  • My PR is restricted to a single feature or bugfix

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 and MIT licenses.

Copy link
Contributor

@adpaco-aws adpaco-aws left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! Merging this as soon as we can so #290 does not get blocked.

@danielsn danielsn merged commit 3e5a436 into model-checking:main-153-2021-07-02 Jul 7, 2021
@zhassan-aws zhassan-aws mentioned this pull request Aug 6, 2021
4 tasks
@avanhatt avanhatt deleted the deprecated-raw branch September 14, 2021 15:25
tedinski pushed a commit to tedinski/rmc that referenced this pull request Apr 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Replace deprecated/removed raw::TraitObject API

3 participants