sun::borrow_checker::BorrowError

sun::borrow_checker::BorrowError

struct · Source (opens in a new tab)

struct sun::borrow_checker::BorrowError

A 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::location

No documentation comment.

Related: sun::support::Position

message

public · variable · Source (opens in a new tab)

std::string sun::borrow_checker::BorrowError::message

No documentation comment.

relatedLocations

public · variable · Source (opens in a new tab)

std::vector<sun::support::Position> sun::borrow_checker::BorrowError::relatedLocations

No documentation comment.

Related: sun::support::Position