rust/compiler/rustc_lint
Matthias Krüger a8f64c0415
Rollup merge of #93153 - tmiasko:reject-unsupported-naked-functions, r=Amanieu
Reject unsupported naked functions

Transition unsupported naked functions future incompatibility lint into an error:

* Naked functions must contain a single inline assembly block. Introduced as future incompatibility lint in 1.50 #79653. Change into an error fixes a soundness issue described in #32489.

* Naked functions must not use any forms of inline attribute. Introduced as future incompatibility lint in 1.56 #87652.

Closes #32490.
Closes #32489.

r? ```@Amanieu``` ```@npmccallum``` ```@joshtriplett```
2022-01-22 15:32:54 +01:00
..
src Rollup merge of #93153 - tmiasko:reject-unsupported-naked-functions, r=Amanieu 2022-01-22 15:32:54 +01:00
Cargo.toml Migrate to 2021 2021-09-20 22:21:42 -04:00