]> git.lizzy.rs Git - rust.git/blob - src/test/ui/lang-items/lang-item-missing.rs
Add 'src/tools/rust-analyzer/' from commit '977e12a0bdc3e329af179ef3a9d466af9eb613bb'
[rust.git] / src / test / ui / lang-items / lang-item-missing.rs
1 // Test that a missing lang item (in this case `sized`) does not cause an ICE,
2 // see #17392.
3
4 // error-pattern: requires `sized` lang_item
5
6 #![feature(start, no_core)]
7 #![no_core]
8
9 #[start]
10 fn start(argc: isize, argv: *const *const u8) -> isize {
11     0
12 }