Skip to content

Commit

Permalink
chore: Update test expectations with improved error message
Browse files Browse the repository at this point in the history
  • Loading branch information
LukeMathWalker committed Oct 13, 2024
1 parent 52770d4 commit a616e62
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
│
│ help: Allow me to clone `app::A` in order to satisfy the borrow
│ checker.
│ You can do so by invoking `.cloning(CloningStrategy::CloneIfNecessary)`
│ on the type returned by `.constructor`.
│ You can do so by invoking `.clone_if_necessary()` after having
│ registered your constructor.
│ ☞
│ ╭─[borrow_checker/transitive_borrows/src/lib.rs:47:1]
│ 47 │ let mut bp = Blueprint::new();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
│
│ help: Allow me to clone `app::A` in order to satisfy the borrow
│ checker.
│ You can do so by invoking `.cloning(CloningStrategy::CloneIfNecessary)`
│ on the type returned by `.constructor`.
│ You can do so by invoking `.clone_if_necessary()` after having
│ registered your constructor.
│ ☞
│ ╭─[borrow_checker/triangle/triangle_cannot_be_solved_if_input_type_is_not_clonable/src/lib.rs:37:1]
│ 37 │ // A is a singleton, so it will be an input parameter of the dependency closure for `handler`
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
│
│ help: Allow me to clone `app::A` in order to satisfy the borrow
│ checker.
│ You can do so by invoking `.cloning(CloningStrategy::CloneIfNecessary)`
│ on the type returned by `.constructor`.
│ You can do so by invoking `.clone_if_necessary()` after having
│ registered your constructor.
│ ☞
│ ╭─[borrow_checker/triangle/triangle_cannot_be_solved_if_type_is_not_clonable/src/lib.rs:36:1]
│ 36 │ let mut bp = Blueprint::new();
Expand Down

0 comments on commit a616e62

Please sign in to comment.