sun::borrow_checker::BorrowError
struct · Source (opens in a new tab)
struct sun::borrow_checker::BorrowErrorA single borrow checking error with source location and optional related locations.
Rendering in the standard compiler format (source line and caret) is done by the driver, which has the source text at hand.
Public Fields
location
public · variable · Source (opens in a new tab)
sun::support::Position sun::borrow_checker::BorrowError::locationNo documentation comment.
Related: sun::support::Position
message
public · variable · Source (opens in a new tab)
std::string sun::borrow_checker::BorrowError::messageNo documentation comment.
relatedLocations
public · variable · Source (opens in a new tab)
std::vector<sun::support::Position> sun::borrow_checker::BorrowError::relatedLocationsNo documentation comment.
Related: sun::support::Position