-
Notifications
You must be signed in to change notification settings - Fork 278
Closed
Description
cargo +nightly build --release
Compiling rustc-ap-arena v491.0.0
error[E0599]: no method named `cap` found for type `alloc::raw_vec::RawVec<T>` in the current scope
--> /Users/chenxiang/.cargo/registry/src/mirrors.ustc.edu.cn-12df342d903acd47/rustc-ap-arena-491.0.0/lib.rs:102:47
|
102 | self.start().add(self.storage.cap())
| ^^^ private field, not a method
error[E0599]: no method named `cap` found for type `alloc::raw_vec::RawVec<T>` in the current scope
--> /Users/chenxiang/.cargo/registry/src/mirrors.ustc.edu.cn-12df342d903acd47/rustc-ap-arena-491.0.0/lib.rs:273:55
|
273 | new_capacity = last_chunk.storage.cap();
| ^^^ private field, not a method
error[E0599]: no method named `cap` found for type `alloc::raw_vec::RawVec<u8>` in the current scope
--> /Users/chenxiang/.cargo/registry/src/mirrors.ustc.edu.cn-12df342d903acd47/rustc-ap-arena-491.0.0/lib.rs:408:55
|
408 | new_capacity = last_chunk.storage.cap();
| ^^^ private field, not a method
error: aborting due to 3 previous errors
For more information about this error, try `rustc --explain E0599`.
error: Could not compile `rustc-ap-arena`.
warning: build failed, waiting for other jobs to finish...
error: build failed
(master)$ rustup --version
rustup 1.17.0 ( )
(master)$ cargo --version
cargo 1.36.0 (c4fcfb725 2019-05-15)
(master)$ rustc --version
rustc 1.36.0 (a53f9df32 2019-07-03)
(master)$ rustup run nightly rustup show
Default host: x86_64-apple-darwin
installed toolchains
--------------------
stable-x86_64-apple-darwin
nightly-x86_64-apple-darwin
active toolchain
----------------
nightly-x86_64-apple-darwin (environment override by RUSTUP_TOOLCHAIN)
rustc 1.38.0-nightly (890881f8f 2019-07-25)
mathewcohle, gjhenrique, albertprz and drewr
Metadata
Metadata
Assignees
Labels
No labels