mirror of https://github.com/rust-lang/book
Update to 1.49
This commit is contained in:
parent
3e8b12604a
commit
2485f9023b
|
@ -12,8 +12,8 @@ jobs:
|
|||
- name: Install Rust
|
||||
run: |
|
||||
rustup set profile minimal
|
||||
rustup toolchain install 1.48 -c rust-docs
|
||||
rustup default 1.48
|
||||
rustup toolchain install 1.49 -c rust-docs
|
||||
rustup default 1.49
|
||||
- name: Install mdbook
|
||||
run: |
|
||||
mkdir bin
|
||||
|
|
|
@ -4,9 +4,10 @@ error[E0038]: the trait `Clone` cannot be made into an object
|
|||
--> src/lib.rs:2:21
|
||||
|
|
||||
2 | pub components: Vec<Box<dyn Clone>>,
|
||||
| ^^^^^^^^^^^^^^^^^^^ the trait `Clone` cannot be made into an object
|
||||
| ^^^^^^^^^^^^^^^^^^^ `Clone` cannot be made into an object
|
||||
|
|
||||
= note: the trait cannot be made into an object because it requires `Self: Sized`
|
||||
= note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit <https://doc.rust-lang.org/reference/items/traits.html#object-safety>
|
||||
|
||||
error: aborting due to previous error
|
||||
|
||||
|
|
|
@ -1 +1 @@
|
|||
1.48
|
||||
1.49
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
*by Steve Klabnik and Carol Nichols, with contributions from the Rust Community*
|
||||
|
||||
This version of the text assumes you’re using Rust 1.48 or later with
|
||||
This version of the text assumes you’re using Rust 1.49 or later with
|
||||
`edition="2018"` in *Cargo.toml* of all projects to use Rust 2018 Edition
|
||||
idioms. See the [“Installation” section of Chapter 1][install]<!-- ignore -->
|
||||
to install or update Rust, and see the new [Appendix E][editions]<!-- ignore
|
||||
|
|
Loading…
Reference in New Issue