{"action":"closed","issue":{"url":"https://api.github.com/repos/euclio/vim-markdown-composer/issues/58","repository_url":"https://api.github.com/repos/euclio/vim-markdown-composer","labels_url":"https://api.github.com/repos/euclio/vim-markdown-composer/issues/58/labels{/name}","comments_url":"https://api.github.com/repos/euclio/vim-markdown-composer/issues/58/comments","events_url":"https://api.github.com/repos/euclio/vim-markdown-composer/issues/58/events","html_url":"https://github.com/euclio/vim-markdown-composer/issues/58","id":311604171,"number":58,"title":"Compile error:  no method named `hash` found for type `*const str`","user":{"login":"cristobaltapia","id":7276493,"avatar_url":"https://avatars0.githubusercontent.com/u/7276493?v=4","gravatar_id":"","url":"https://api.github.com/users/cristobaltapia","html_url":"https://github.com/cristobaltapia","followers_url":"https://api.github.com/users/cristobaltapia/followers","following_url":"https://api.github.com/users/cristobaltapia/following{/other_user}","gists_url":"https://api.github.com/users/cristobaltapia/gists{/gist_id}","starred_url":"https://api.github.com/users/cristobaltapia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cristobaltapia/subscriptions","organizations_url":"https://api.github.com/users/cristobaltapia/orgs","repos_url":"https://api.github.com/users/cristobaltapia/repos","events_url":"https://api.github.com/users/cristobaltapia/events{/privacy}","received_events_url":"https://api.github.com/users/cristobaltapia/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-04-05T13:12:05Z","updated_at":"2018-04-07T11:40:30Z","closed_at":"2018-04-07T11:40:30Z","author_association":"NONE","body":"Hi,\r\nI try to install this plugin in a new installation of Ubuntu but I am getting the following error when compiling:\r\n\r\n```bash\r\n[tapiac@CL00088]:vim-markdown-composer[master]$ cargo build --release\r\n   Compiling pest v1.0.3\r\n   Compiling typemap v0.3.3\r\n   Compiling syn v0.11.11\r\n   Compiling serde_yaml v0.7.3\r\n   Compiling chan v0.1.20\r\n   Compiling clap v2.29.2\r\n   Compiling aho-corasick v0.6.4\r\n   Compiling ordered-float v0.5.0\r\nerror[E0599]: no method named `hash` found for type `*const str` in the current scope\r\n   --> /home/tapiac/.cargo/registry/src/github.com-1ecc6299db9ec823/pest-1.0.3/src/iterators/pair.rs:250:36\r\n    |\r\n250 |         (self.input as *const str).hash(state);\r\n    |                                    ^^^^\r\n    |\r\n    = note: the method `hash` exists but the following trait bounds were not satisfied:\r\n            `*const str : std::hash::Hash`\r\n\r\nerror[E0599]: no method named `hash` found for type `*const str` in the current scope\r\n   --> /home/tapiac/.cargo/registry/src/github.com-1ecc6299db9ec823/pest-1.0.3/src/iterators/pairs.rs:162:36\r\n    |\r\n162 |         (self.input as *const str).hash(state);\r\n    |                                    ^^^^\r\n    |\r\n    = note: the method `hash` exists but the following trait bounds were not satisfied:\r\n            `*const str : std::hash::Hash`\r\n\r\nerror[E0599]: no method named `eq_ignore_ascii_case` found for type `&str` in the current scope\r\n   --> /home/tapiac/.cargo/registry/src/github.com-1ecc6299db9ec823/pest-1.0.3/src/position.rs:354:23\r\n    |\r\n354 |                 slice.eq_ignore_ascii_case(string)\r\n    |                       ^^^^^^^^^^^^^^^^^^^^\r\n    |\r\n    = help: items from traits can only be used if the trait is in scope\r\n    = note: the following trait is implemented but not in scope, perhaps add a `use` for it:\r\n            candidate #1: `use std::ascii::AsciiExt;`\r\n\r\nerror[E0599]: no method named `hash` found for type `*const str` in the current scope\r\n   --> /home/tapiac/.cargo/registry/src/github.com-1ecc6299db9ec823/pest-1.0.3/src/position.rs:641:36\r\n    |\r\n641 |         (self.input as *const str).hash(state);\r\n    |                                    ^^^^\r\n    |\r\n    = note: the method `hash` exists but the following trait bounds were not satisfied:\r\n            `*const str : std::hash::Hash`\r\n\r\nerror[E0599]: no method named `hash` found for type `*const str` in the current scope\r\n   --> /home/tapiac/.cargo/registry/src/github.com-1ecc6299db9ec823/pest-1.0.3/src/span.rs:191:36\r\n    |\r\n191 |         (self.input as *const str).hash(state);\r\n    |                                    ^^^^\r\n    |\r\n    = note: the method `hash` exists but the following trait bounds were not satisfied:\r\n            `*const str : std::hash::Hash`\r\n\r\nerror: aborting due to 5 previous errors\r\n\r\nerror: Could not compile `pest`.\r\nwarning: build failed, waiting for other jobs to finish...\r\nerror: build failed\r\n\r\n```\r\n\r\nAny idea of how to fix this?"}}
{"actor":{"display_login":"cristobaltapia"}}