Skip to content
This repository has been archived by the owner on May 23, 2024. It is now read-only.

ices/79466.sh: fixed with no errors #1187

Merged
merged 1 commit into from
Mar 30, 2022
Merged

Conversation

github-actions[bot]
Copy link
Contributor

Issue: rust-lang/rust#79466

#!/bin/bash

cat > out.rs <<'EOF'
#![allow(dead_code)]
#![feature(negative_impls)]

// Overlapping negative impls for `MyStruct` are not permitted:
struct MyStruct;
impl !Send for MyStruct {}
impl !Send for MyStruct {}
//~^ ERROR conflicting implementations of trait

fn main() {}

EOF

rustdoc --edition=2021 out.rs
=== stdout ===
=== stderr ===
==============

=== stdout ===
=== stderr ===
==============
@Alexendoo Alexendoo merged commit 524cfe0 into master Mar 30, 2022
@Alexendoo Alexendoo deleted the autofix/ices/79466.sh branch March 30, 2022 15:43
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants