Beginner Rust
Q18 / 100

What is the borrow checker?

Correct! Well done.

Incorrect.

The correct answer is B) A compile-time analysis that enforces ownership and borrowing rules to prevent use-after-free, dangling references, and data races

B

Correct Answer

A compile-time analysis that enforces ownership and borrowing rules to prevent use-after-free, dangling references, and data races

Explanation

The borrow checker is part of the Rust compiler. It checks that references are valid and that mutability rules are respected — all at compile time.

Progress
18/100