Skip to content

Diagnostic message: suppress printing "requires LifetimeDependence" #81685

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
May 22, 2025

Conversation

atrick
Copy link
Contributor

@atrick atrick commented May 21, 2025

Adopters of the new Span and MutableSpan types should not encounter information
about an experimental feature when they attempt to use these types in
unsupported ways, such as simply returning them from a function.

Fixes rdar://151788740 (Diagnostic message: suppress printing "requires
'-enable-experimental-feature LifetimeDependence'")

@atrick
Copy link
Contributor Author

atrick commented May 21, 2025

@swift-ci smoke test

@atrick
Copy link
Contributor Author

atrick commented May 21, 2025

@swift-ci smoke test

@atrick
Copy link
Contributor Author

atrick commented May 21, 2025

Unresolved Tests (1):
lldb-api :: lang/swift/clangimporter/missing_pch/TestSwiftMissingPCH.py

@atrick
Copy link
Contributor Author

atrick commented May 21, 2025

@swift-ci smoke test macOS

@atrick atrick enabled auto-merge May 21, 2025 23:08
@atrick
Copy link
Contributor Author

atrick commented May 22, 2025

error: could not find module '_Concurrency' for target 'arm64-apple-macos'; found: x86_64-apple-macos, at: /Users/ec2-user/jenkins/workspace/swift-PR-macos-smoke-test/branch-main/build/buildbot_incremental/swift-macosx-x86_64/lib/swift/macosx/_Concurrency.swiftmodule

@atrick
Copy link
Contributor Author

atrick commented May 22, 2025

@swift-ci smoke test macOS

atrick added 2 commits May 21, 2025 22:56
Adopters of the new Span and MutableSpan types should not encounter information
about an experimental feature when they attempt to use these types in
unsupported ways, such as simply returning them from a function.

Fixes rdar://151788740 (Diagnostic message: suppress printing "requires
'-enable-experimental-feature LifetimeDependence'")
@atrick atrick force-pushed the lifedep-unprint-feature branch from a0360a1 to c65016d Compare May 22, 2025 05:57
@atrick
Copy link
Contributor Author

atrick commented May 22, 2025

@swift-ci smoke test

@atrick atrick merged commit 58adb0e into swiftlang:main May 22, 2025
3 checks passed
hamishknight added a commit to hamishknight/swift that referenced this pull request May 22, 2025
@atrick atrick deleted the lifedep-unprint-feature branch May 22, 2025 16:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant