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

E0308 error with rustc 1.11.0-nightly (2019-11-16) #29

Closed
lebensterben opened this issue Nov 17, 2019 · 1 comment
Closed

E0308 error with rustc 1.11.0-nightly (2019-11-16) #29

lebensterben opened this issue Nov 17, 2019 · 1 comment

Comments

@lebensterben
Copy link

error[E0308]: mismatched types
  --> /home/lucius/.cargo/registry/src/github.com-1ecc6299db9ec823/procs-0.8.13/src/./columns/uid_login.rs:37:44
   |
37 |         self.raw_contents.insert(proc.pid, raw_content);
   |                                            ^^^^^^^^^^^ expected i32, found u32
help: you can convert an `u32` to `i32` and panic if the converted value wouldn't fit
   |
37 |         self.raw_contents.insert(proc.pid, raw_content.try_into().unwrap());
   |                                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

There are many errors regarding the type of raw_content.

dalance added a commit that referenced this issue Nov 18, 2019
@dalance
Copy link
Owner

dalance commented Nov 18, 2019

Thanks! I fixed it.

@dalance dalance closed this as completed Nov 18, 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

2 participants