Skip to content

Commit 8cdff0b

Browse files
celinvalgitbot
authored and
gitbot
committed
Express contracts as part of function header and lower it to the contract lang items
includes post-developed commit: do not suggest internal-only keywords as corrections to parse failures. includes post-developed commit: removed tabs that creeped in into rustfmt tool source code. includes post-developed commit, placating rustfmt self dogfooding. includes post-developed commit: add backquotes to prevent markdown checking from trying to treat an attr as a markdown hyperlink/ includes post-developed commit: fix lowering to keep contracts from being erroneously inherited by nested bodies (like closures). Rebase Conflicts: - compiler/rustc_parse/src/parser/diagnostics.rs - compiler/rustc_parse/src/parser/item.rs - compiler/rustc_span/src/hygiene.rs Remove contracts keywords from diagnostic messages
1 parent 91ff63d commit 8cdff0b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -113,8 +113,8 @@
113113
#![feature(bigint_helper_methods)]
114114
#![feature(bstr)]
115115
#![feature(bstr_internals)]
116-
#![feature(const_carrying_mul_add)]
117116
#![feature(closure_track_caller)]
117+
#![feature(const_carrying_mul_add)]
118118
#![feature(const_eval_select)]
119119
#![feature(core_intrinsics)]
120120
#![feature(coverage_attribute)]

0 commit comments

Comments
 (0)