Accept less invalid Rust in rustdoc
This commit is contained in:
parent
22b27120b9
commit
4512f211ae
35 changed files with 428 additions and 127 deletions
|
@ -2,7 +2,9 @@
|
|||
#![feature(adt_const_params)]
|
||||
#![crate_name = "foo"]
|
||||
|
||||
#[derive(PartialEq, Eq)]
|
||||
use std::marker::ConstParamTy;
|
||||
|
||||
#[derive(PartialEq, Eq, ConstParamTy)]
|
||||
pub enum Order {
|
||||
Sorted,
|
||||
Unsorted,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue