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

rust 1.34対応(コンパイルエラー) #46

Closed
hidekuno opened this issue May 13, 2019 · 2 comments
Closed

rust 1.34対応(コンパイルエラー) #46

hidekuno opened this issue May 13, 2019 · 2 comments

Comments

@hidekuno
Copy link
Owner

コンパイルエラーが発生するので対応する

NPC106:rust-elisp kunohi$ cargo run --bin lisp
   Compiling elisp v0.1.0 (/Users/kunohi/git/rust-elisp)
error[E0308]: mismatched types
   --> src/dyn_lisp.rs:934:17
    |
934 |                 DataType::RsSymbolDesc => {}
    |                 ^^^^^^^^^^^^^^^^^^^^^^ expected struct `std::any::TypeId`, found enum `dyn_lisp::DataType`
    |
    = note: expected type `std::any::TypeId`
               found type `dyn_lisp::DataType`
(略)
@hidekuno
Copy link
Owner Author

hidekuno commented May 13, 2019

https://github.com/rust-lang/rust/pull/35267

を確認
これは関係なかった

@hidekuno
Copy link
Owner Author

1.34からstd::any::Anyに"fn type_id(&self) -> TypeId"が追加されたため
https://doc.rust-lang.org/std/any/trait.Any.html#tymethod.type_id

@hidekuno hidekuno changed the title rust 1.34対応 rust 1.34対応(コンパイルエラー) May 27, 2019
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

No branches or pull requests

1 participant