Skip to content
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

suppress-remarks option does not work #72924

Closed
Frizlab opened this issue Apr 9, 2024 · 1 comment · May be fixed by swiftlang/swift-driver#1656
Closed

suppress-remarks option does not work #72924

Frizlab opened this issue Apr 9, 2024 · 1 comment · May be fixed by swiftlang/swift-driver#1656
Labels
bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. triage needed This issue needs more specific labels

Comments

@Frizlab
Copy link

Frizlab commented Apr 9, 2024

Description

Running swiftc with the -suppress-remarks option does not suppress remarks.

Reproduction

42sh$ cat toto.swift
@preconcurrency import Foundation
42sh$ swiftc -suppress-remarks toto.swift
toto.swift:1:17: remark: '@preconcurrency' attribute on module 'Foundation' is unused
@preconcurrency import Foundation
~~~~~~~~~~~~~~~~^

Expected behavior

The file should compile with no output.

Environment

swift-driver version: 1.90.11.1 Apple Swift version 5.10 (swiftlang-5.10.0.13 clang-1500.3.9.4)
Target: arm64-apple-macosx14.0

and

Swift version 5.10 (swift-5.10-RELEASE)
Target: aarch64-unknown-linux-gnu

Additional information

No response

@Frizlab Frizlab added bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. triage needed This issue needs more specific labels labels Apr 9, 2024
rjmansfield added a commit to rjmansfield/swift-driver that referenced this issue Jul 9, 2024
@hborla
Copy link
Member

hborla commented Jul 14, 2024

These diagnostics were moved to warnings in #69417

@hborla hborla closed this as completed Jul 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. triage needed This issue needs more specific labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants