Auto merge of #114226 - matthiaskrgr:rollup-wxdudsm, r=matthiaskrgr
Rollup of 3 pull requests Successful merges: - #114129 (Rustdoc small cleanups) - #114152 ([rustc][data_structures] Simplify binary_search_slice.) - #114222 (Mark `lazy_type_alias` as incomplete) r? `@ghost` `@rustbot` modify labels: rollup
This commit is contained in:
commit
fb53384c94
13 changed files with 145 additions and 141 deletions
|
|
@ -2,6 +2,7 @@
|
|||
// check-pass
|
||||
|
||||
#![feature(lazy_type_alias)]
|
||||
//~^ WARN the feature `lazy_type_alias` is incomplete and may not be safe to use
|
||||
|
||||
enum Enum {
|
||||
Unit,
|
||||
|
|
|
|||
11
tests/ui/type-alias/lazy-type-alias-enum-variant.stderr
Normal file
11
tests/ui/type-alias/lazy-type-alias-enum-variant.stderr
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
warning: the feature `lazy_type_alias` is incomplete and may not be safe to use and/or cause compiler crashes
|
||||
--> $DIR/lazy-type-alias-enum-variant.rs:4:12
|
||||
|
|
||||
LL | #![feature(lazy_type_alias)]
|
||||
| ^^^^^^^^^^^^^^^
|
||||
|
|
||||
= note: see issue #112792 <https://github.com/rust-lang/rust/issues/112792> for more information
|
||||
= note: `#[warn(incomplete_features)]` on by default
|
||||
|
||||
warning: 1 warning emitted
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue