You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
get_type_id has been stabilized and renamed to type_id in Rust 1.33.0. As a result, Mocktopus no longer builds with a nightly compiler as of 2019-01-25. rust-lang/rust#27745
The text was updated successfully, but these errors were encountered:
asomers
added a commit
to asomers/Mocktopus
that referenced
this issue
Jan 28, 2019
Hello, old issue but I ran into the inverse of this issue while using an older nightly (cargo 1.33.0-nightly (2b4a5f1f0 2019-01-12)) for RLS reasons. So, for future Googlers, this error:
foo@bar ~/w/acw-api.rs> cargo test -- --nocapture --ignored
Compiling mocktopus v0.7.0
error[E0599]: no method named `type_id` found for type `[closure@/Users/foo/.cargo/registry/src/github.com-1ecc6299db9ec823/mocktopus-0.7.0/src/mocking.rs:128:9: 128:15]` in the current scope
--> /Users/foo/.cargo/registry/src/github.com-1ecc6299db9ec823/mocktopus-0.7.0/src/mocking.rs:128:16
|
128 | (||()).type_id()
| ^^^^^^^
|
= note: (||()) is a function, perhaps you wish to call it
error: aborting due to previous error
For more information about this error, try `rustc --explain E0599`.
get_type_id
has been stabilized and renamed totype_id
in Rust 1.33.0. As a result, Mocktopus no longer builds with a nightly compiler as of 2019-01-25. rust-lang/rust#27745The text was updated successfully, but these errors were encountered: