diff options
Diffstat (limited to 'src/test/ui/parser/issues/issue-68788-in-trait-item-propagation.rs')
-rw-r--r-- | src/test/ui/parser/issues/issue-68788-in-trait-item-propagation.rs | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/src/test/ui/parser/issues/issue-68788-in-trait-item-propagation.rs b/src/test/ui/parser/issues/issue-68788-in-trait-item-propagation.rs deleted file mode 100644 index 7c3dd1d5a..000000000 --- a/src/test/ui/parser/issues/issue-68788-in-trait-item-propagation.rs +++ /dev/null @@ -1,21 +0,0 @@ -// Make sure we don't propagate restrictions on trait impl items to items inside them. - -// check-pass -// edition:2018 - -fn main() {} - -trait X { - fn foo(); -} - -impl X for () { - fn foo() { - struct S; - impl S { - pub const X: u8 = 0; - pub const fn bar() {} - async fn qux() {} - } - } -} |