1
Fork 0

Rollup merge of #136274 - compiler-errors:sized-wf, r=lcnr

Check Sizedness of return type in WF

Still need to clean this up a bit. This should fix https://github.com/rust-lang/trait-system-refactor-initiative/issues/150.

r? lcnr
This commit is contained in:
Matthias Krüger 2025-02-04 18:49:37 +01:00 committed by GitHub
commit a8ecb79d19
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
61 changed files with 610 additions and 530 deletions

View file

@ -2,9 +2,12 @@
// feature.
#![deny(warnings)]
#![feature(no_core)]
#![feature(no_core, lang_items)]
#![no_core]
#[lang = "sized"]
trait Sized {}
/// ```{class="}
/// main;
/// ```

View file

@ -1,5 +1,5 @@
error: unclosed quote string `"`
--> $DIR/custom_code_classes_in_docs-warning3.rs:8:1
--> $DIR/custom_code_classes_in_docs-warning3.rs:11:1
|
LL | / /// ```{class="}
LL | | /// main;
@ -17,7 +17,7 @@ LL | #![deny(warnings)]
= note: `#[deny(rustdoc::invalid_codeblock_attributes)]` implied by `#[deny(warnings)]`
error: unclosed quote string `"`
--> $DIR/custom_code_classes_in_docs-warning3.rs:8:1
--> $DIR/custom_code_classes_in_docs-warning3.rs:11:1
|
LL | / /// ```{class="}
LL | | /// main;