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
use ast_map_issue1::*;mod ast_map_issue1;#[main]fnmain(){let s = Sha2::new();
s.input_str("hi");}
This is producing the same error I saw before when using: 8883099.
Original:
While working on a SHA-2 implementation, I was trying to create some utility default methods on the Digest trait. However, I ended up getting the following error:
rust/src/libextra/workcache.rs:253:4: 253:37 error: internal compiler error: method not found in AST map?!
rust/src/libextra/workcache.rs:253 (sha).input_str(json_encode(t));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make: ** [x86_64-unknown-linux-gnu/stage0/test/extratest-x86_64-unknown-linux-gnu] Error 101
I don't have a simple test case yet, but I'll try to develop one in the next few days.
Updated with a simpler test case:
ast_map_issue1.rs:
ast_map_issue2.rs:
This is producing the same error I saw before when using: 8883099.
Original:
While working on a SHA-2 implementation, I was trying to create some utility default methods on the Digest trait. However, I ended up getting the following error:
rust/src/libextra/workcache.rs:253:4: 253:37 error: internal compiler error: method not found in AST map?!
rust/src/libextra/workcache.rs:253 (sha).input_str(json_encode(t));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make: ** [x86_64-unknown-linux-gnu/stage0/test/extratest-x86_64-unknown-linux-gnu] Error 101
I don't have a simple test case yet, but I'll try to develop one in the next few days.
In the meantime, the sha2-default-method-issue branch of https://github.com/DaGenix/rust.git will trigger this issue.
The text was updated successfully, but these errors were encountered: