-
Notifications
You must be signed in to change notification settings - Fork 13.7k
Closed
Labels
T-libs-apiRelevant to the library API team, which will review and decide on the PR/issue.Relevant to the library API team, which will review and decide on the PR/issue.regression-from-stable-to-nightlyPerformance or correctness regression from stable to nightly.Performance or correctness regression from stable to nightly.
Description
brian@ip-10-145-43-250:~/dev/rust-scan-rules⟫ git remote -v
origin https://github.com/DanielKeep/rust-scan-rules (fetch)
origin https://github.com/DanielKeep/rust-scan-rules (push)
brian@ip-10-145-43-250:~/dev/rust-scan-rules⟫ git log -1
commit 151b4d822c33dcb8a04d9fa55d1084c948e5b76d
Author: Daniel Keep <daniel.keep@gmail.com>
Date: Mon Nov 7 16:27:19 2016 +1100
chore: updated docs for release.
brian@ip-10-145-43-250:/mnt2/dev⟫ rustc +stable -Vv
rustc 1.15.1 (021bd294c 2017-02-08)
binary: rustc
commit-hash: 021bd294c039bd54aa5c4aa85bcdffb0d24bc892
commit-date: 2017-02-08
host: x86_64-unknown-linux-gnu
release: 1.15.1
LLVM version: 3.9
101 brian@ip-10-145-43-250:~/dev/rust-scan-rules⟫ cargo +nightly test
Compiling bitflags v0.4.0
Compiling semver v0.1.20
Compiling unicode-segmentation v0.1.3
Compiling lazy_static v0.1.16
Compiling itertools v0.4.19
warning[E0122]: trait bounds are not (yet) enforced in type definitions
--> /home/brian/.cargo/registry/src/github.com-1ecc6299db9ec823/itertools-0.4.19/src/lib.rs:123:1
|
123 | pub type MapFn<I, B> where I: Iterator = iter::Map<I, fn(I::Item) -> B>;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Compiling rustc_version v0.1.7
Compiling strcursor v0.2.3
Compiling scan-rules v0.2.0 (file:///mnt2/dev/rust-scan-rules)
error[E0308]: mismatched types
--> /home/brian/.cargo/registry/src/github.com-1ecc6299db9ec823/strcursor-0.2.3/src/grapheme.rs:525:15
|
525 | GcBuf(s)
| ^ expected struct `std::boxed::Box`, found struct `std::string::String`
|
= note: expected type `std::boxed::Box<str>`
found type `std::string::String`
= help: here are some functions which might fulfill your needs:
- .into_boxed_str()
error: aborting due to previous error
error: Could not compile `strcursor`.
To learn more, run the command again with --verbose.
Not on 1.15. Different from 1.16 #39825
cc @DanielKeep
Metadata
Metadata
Assignees
Labels
T-libs-apiRelevant to the library API team, which will review and decide on the PR/issue.Relevant to the library API team, which will review and decide on the PR/issue.regression-from-stable-to-nightlyPerformance or correctness regression from stable to nightly.Performance or correctness regression from stable to nightly.