///
/// ### Example
///
- /// ```
+ /// ```rust
+ /// trait Duh {}
+ ///
+ /// impl Duh for i32 {}
+ ///
/// trait Trait {
- /// type Assoc: Send;
+ /// type Assoc: Duh;
/// }
///
/// struct Struct;
///
- /// impl Trait for Struct {
- /// type Assoc = i32;
+ /// impl<F: Duh> Trait for F {
+ /// type Assoc = F;
/// }
///
/// fn test() -> impl Trait<Assoc = impl Sized> {
- /// Struct
+ /// 42
/// }
/// ```
///
///
/// ### Example
///
- /// ```
+ /// ```rust
/// #[warn(unused_tuple_struct_fields)]
/// struct S(i32, i32, i32);
/// let s = S(1, 2, 3);
///
/// ### Example
///
- /// ```compile_fail
+ /// ```rust,compile_fail
/// #[repr(packed)]
/// pub struct Foo {
/// field1: u64,
///
/// ### Example
///
- /// ```compile_fail
+ /// ```rust,compile_fail
/// # #![allow(unused)]
/// enum E {
/// A,
///
/// ### Example
///
- /// ```
+ /// ```rust
/// #![allow(test_unstable_lint)]
/// ```
///