crush icon indicating copy to clipboard operation
crush copied to clipboard

error[E0658]: use of unstable library feature 'str_strip': newly added

Open Threadzless opened this issue 3 years ago • 0 comments

whenever I run cargo build I get these errors

error[E0658]: use of unstable library feature 'str_strip': newly added
   --> src/lib/fd.rs:166:47
    |
166 | ...                   let inode = s.strip_prefix("socket:[").unwrap().strip_suffix("]").unwrap()
    |                                     ^^^^^^^^^^^^
    |
    = note: see issue #67302 <https://github.com/rust-lang/rust/issues/67302> for more information

error[E0658]: use of unstable library feature 'str_strip': newly added
   --> src/lib/fd.rs:166:81
    |
166 | ...                   let inode = s.strip_prefix("socket:[").unwrap().strip_suffix("]").unwrap()
    |                                                                       ^^^^^^^^^^^^
    |
    = note: see issue #67302 <https://github.com/rust-lang/rust/issues/67302> for more information

I tried switching over to the nightly builds of rust but it had no effect :(

Threadzless avatar Oct 20 '20 18:10 Threadzless