Nicholas Nethercote
0ac1195ee0
Invert diagnostic lints.
...
That is, change `diagnostic_outside_of_impl` and
`untranslatable_diagnostic` from `allow` to `deny`, because more than
half of the compiler has be converted to use translated diagnostics.
This commit removes more `deny` attributes than it adds `allow`
attributes, which proves that this change is warranted.
2024-02-06 13:12:33 +11:00
lcnr
992d93f687
rename BorrowKind::Shallow
to Fake
...
also adds some comments
2023-11-08 22:55:28 +01:00
Oli Scherer
e96ce20b34
s/generator/coroutine/
2023-10-20 21:14:01 +00:00
lcnr
cfd0623411
unique borrows are mutating uses
2023-05-29 17:15:48 +02:00
Obei Sideg
2198faeee2
Make NonUseContext::AscribeUserTy
carry ty::Variance
2023-05-10 09:54:56 +03:00
Camille GILLOT
9325a254f0
Make PlaceMention a non-mutating use.
2023-04-29 16:14:33 +00:00
Camille GILLOT
ddfa2463e2
Evaluate place expression in PlaceMention
.
2023-04-21 21:34:59 +00:00
Camille GILLOT
45f2a1af3b
Document borrowck behaviour.
2023-03-09 17:45:13 +00:00
Camille GILLOT
4462bb54e3
Introduce a no-op PlaceMention statement for let _ =
.
2023-03-09 17:45:13 +00:00
AndyJado
e636af7dfd
lint auto pass
...
Revert "lint auto pass"
This reverts commit e58e4466384924c491a932d3f18ef50ffa5a5065.
2022-11-09 20:42:16 +08:00
Jakob Degen
48b01a0d0e
Add new MutatatingUseContext
s for deinit and SetDiscriminant
2022-04-11 09:26:26 -04:00
Tomasz Miąsko
000b36c505
Remove deprecated LLVM-style inline assembly
2022-01-12 18:51:31 +01:00
Amanieu d'Antras
940b2eabad
Add initial AST and MIR support for unwinding from inline assembly
2021-12-03 23:51:46 +01:00
Camille GILLOT
31a61ccc38
Move rustc_mir::borrow_check to new crate rustc_borrowck.
2021-09-07 00:29:22 +02:00