Sign in
android
/
toolchain
/
rustc
/
ee32a8b31351dab7161ea2edd877e46fc49c72d0
/
.
/
tests
/
ui
/
parser
/
impls-nested-within-fns-semantic-0.rs
blob: ac7eb5c72b025d564d6c807a04cbe5e3f6a4cf02 [
file
] [
log
] [
blame
]
// Regression test for #121607 and for part of issue #119924.
// check-pass
trait
Trait
{
fn
provided
()
{
pub
struct
Type
;
impl
Type
{
// This visibility qualifier used to get rejected.
pub
fn
perform
()
{}
}
}
}
fn
main
()
{}