Update to 1.49

This commit is contained in:
Carol (Nichols || Goulding) 2021-01-12 21:50:40 -05:00
parent 3e8b12604a
commit 2485f9023b
No known key found for this signature in database
GPG Key ID: D04B39A6CA243902
4 changed files with 6 additions and 5 deletions

View File

@ -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

View File

@ -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

View File

@ -1 +1 @@
1.48
1.49

View File

@ -2,7 +2,7 @@
*by Steve Klabnik and Carol Nichols, with contributions from the Rust Community*
This version of the text assumes youre using Rust 1.48 or later with
This version of the text assumes youre 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