Add URL to test cases

This commit is contained in:
Michael Howell 2024-12-08 21:39:48 -07:00
parent df5b8e39b7
commit 999aed4bff
9 changed files with 9 additions and 0 deletions

View File

@ -1,4 +1,5 @@
//@ check-pass
// https://github.com/rust-lang/rust/issues/101076
const _: () = {
#[macro_export]

View File

@ -1,3 +1,4 @@
// https://github.com/rust-lang/rust/issues/102986
struct Struct {
y: (typeof("hey"),),
//~^ `typeof` is a reserved keyword but unimplemented

View File

@ -1,4 +1,5 @@
//@ check-pass
// https://github.com/rust-lang/rust/issues/103997
pub fn foo() {}

View File

@ -1,2 +1,3 @@
// https://github.com/rust-lang/rust/issues/105334
impl Vec< br##"*.."## > {}
//~^ ERROR

View File

@ -1,3 +1,4 @@
// https://github.com/rust-lang/rust/issues/105737
impl Vec<lol> {}
//~^ ERROR

View File

@ -1,4 +1,5 @@
//@ compile-flags: -Znormalize-docs
// https://github.com/rust-lang/rust/issues/105742
use std::ops::Index;
pub fn next<'a, T>(s: &'a mut dyn SVec<Item = T, Output = T>) {

View File

@ -1,5 +1,6 @@
//@ compile-flags: --document-private-items
//@ edition:2021
// https://github.com/rust-lang/rust/issues/106213
fn use_avx() -> dyn {
//~^ ERROR at least one trait is required for an object type

View File

@ -2,6 +2,7 @@
//@ compile-flags: --document-private-items
//@ build-pass
//@ only-linux
// https://github.com/rust-lang/rust/issues/107918
#![no_std]
#![no_main]

View File

@ -1,4 +1,5 @@
//@ check-pass
// https://github.com/rust-lang/rust/issues/110900
#![crate_type="lib"]