link to TB doc in unsafe-code-guidelines
This commit is contained in:
parent
3248d8658b
commit
b4876bf3e2
1 changed files with 2 additions and 1 deletions
|
|
@ -282,7 +282,8 @@ pub fn report_error<'tcx>(
|
|||
},
|
||||
TreeBorrowsUb { title: _, details, history } => {
|
||||
let mut helps = vec![
|
||||
note!("this indicates a potential bug in the program: it performed an invalid operation, but the Tree Borrows rules it violated are still experimental")
|
||||
note!("this indicates a potential bug in the program: it performed an invalid operation, but the Tree Borrows rules it violated are still experimental"),
|
||||
note!("see https://github.com/rust-lang/unsafe-code-guidelines/blob/master/wip/tree-borrows.md for further information"),
|
||||
];
|
||||
for m in details {
|
||||
helps.push(note!("{m}"));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue