These are chat archives for rust-lang/rust

14th
Apr 2018
Russell Cohen
@rcoh
Apr 14 2018 03:03
@fcoury did you get the compiler builtins thing sorted out? I'm pretty it's happening because of this: rust-lang/rust#49851
tldr you need to install the target you want
Paul Reesman
@reesmanp
Apr 14 2018 23:57

I'm using:

my_hash_map.entries(my_str).and_modify(
  | x | { x << 1 } // <-- Says &mut u32 doesn't have '<<' operator
);

How would I shift the &mut u32 in place?