SpiceQA
Questions
Tags
Users
Badges
borrow-checker
241 Questions
Newest
Active
Unanswered
Frequent
More
Score
View
Card
Compact
Cannot use iterator from one method in another because the "borrow might be used when that temporary is dropped"
user_3257586
0
•
asked Dec 8, 2021
2
2
249
borrow-checker
rust
How to access mutable iterables inside a nested loop
user_1578458
0
•
asked Dec 4, 2021
5
1
162
mutability
borrow-checker
rust
iterator
Why does the borrow checker raise an error when I keep a reference to an element in a vector that is appended to within a loop?
user_11663108
0
•
asked Nov 30, 2021
2
1
101
borrow-checker
rust
lifetime
Cannot infer an appropriate lifetime for borrow expression due to conflicting requirement(s)
user_17545033
0
•
asked Nov 29, 2021
2
1
149
borrow-checker
rust
lifetime
Borrow checker issue trying to pass a function pointer as paramerter
user_1578458
0
•
asked Nov 29, 2021
2
2
68
borrow-checker
rust
How to change the enum variant of a struct with a mutable reference
user_12243262
0
•
asked Nov 21, 2021
2
0
54
ownership
borrow-checker
rust
reference
How to keep using a value after pushing it into a vector?
user_7975387
0
•
asked Nov 11, 2021
2
1
130
borrow-checker
rust
vector
Casting to `*mut` overrules the reference not being `mut`
user_4646738
0
•
asked Nov 10, 2021
5
2
473
borrow-checker
rust
Lifetime struggles with "borrowed value does not live long enough" for lazy_static value
user_851004
0
•
asked Nov 9, 2021
2
2
117
borrow-checker
rust
Ownership/borrowing issues when trying to get a DB connection and tx from a separate function
user_15602349
0
•
asked Nov 4, 2021
1
1
45
borrow-checker
rust
Prev
Prev
6
7
8
(current)
9
10
Next
Next
Hot Questions