Skip to content

Rust 1.19 regression, split_by 0.2.0 #42465

Closed
@brson

Description

@brson

https://github.com/jsen-/split_by

commit 7e4ffa79e477491849b58b329a2854d7d0932850
Author: jsen- <max.enhanced@gmail.com>
Date:   Tue Aug 30 19:17:27 2016 +0200

    bump version to 0.2

brian@ip-10-145-43-250:~/dev/slate/split_by⟫ cargo +nightly test
   Compiling libc v0.2.23
   Compiling memchr v0.1.11
   Compiling aho-corasick v0.5.3
   Compiling split_by v0.2.0 (file:///mnt2/dev/slate/split_by)
    Finished dev [unoptimized + debuginfo] target(s) in 3.86 secs
     Running target/debug/deps/split_by-20b8b051e8ea2b97

running 7 tests
test tests::empty ... ok
test tests::both ... ok
test tests::consecutive ... ok
test tests::leading ... ok
test tests::not_present ... ok
test tests::plain ... ok
test tests::trailing ... ok

test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out

   Doc-tests split_by

running 1 test
test src/lib.rs - SplitBy (line 94) ... FAILED

failures:

---- src/lib.rs - SplitBy (line 94) stdout ----
        thread 'rustc' panicked at 'test executable failed:

thread 'main' panicked at 'assertion failed: splits.next().unwrap().unwrap().as_slice() == b"\nlast"', <anon>:18
note: Run with `RUST_BACKTRACE=1` for a backtrace.

', /checkout/src/librustdoc/test.rs:318
note: Run with `RUST_BACKTRACE=1` for a backtrace.


failures:
    src/lib.rs - SplitBy (line 94)

test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out

error: test failed, to rerun pass '--doc'

cc @jsen-

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions