mod basic {
use easy_ext::ext;
#[ext(NoValueConst)]
impl str {
const ASSOC: u8; }
#[ext(NoValueTy)]
impl str {
type Assoc; }
#[ext(NoValueFn)]
impl str {
fn assoc(); }
#[ext(Macro)]
impl str {
mac!(); }
#[rustfmt::skip]
#[ext(ExtraArg,)] impl str {}
#[ext(pub OldVisSyntax1)] impl str {}
#[ext(pub(crate) OldVisSyntax2)] impl str {}
}
mod visibility {
use easy_ext::ext;
#[ext(AssocLevel1)]
impl str {
pub const ASSOC1: u8 = 1;
const ASSOC2: u8 = 2; }
#[ext(AssocLevel2)]
impl str {
fn assoc1(&self) {}
pub fn assoc2(&self) {} }
#[ext(AssocLevel3)]
impl str {
pub(crate) type Assoc1 = ();
pub type Assoc2 = (); }
#[ext(ImplLevel1)]
pub impl str {
fn assoc1(&self) {}
pub fn assoc2(&self) {} }
}
fn main() {}